Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Delta Between Two Patch Sets: test/BaseJsTest.h

Issue 29508555: Issue 5450 - move FilterEngine into Platform (Closed) Base URL: https://github.com/adblockplus/libadblockplus.git
Left Patch Set: Created Aug. 7, 2017, 8:28 a.m.
Right Patch Set: fix typos Created Aug. 7, 2017, 1:03 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « src/Platform.cpp ('k') | test/BaseJsTest.cpp » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 /* 1 /*
2 * This file is part of Adblock Plus <https://adblockplus.org/>, 2 * This file is part of Adblock Plus <https://adblockplus.org/>,
3 * Copyright (C) 2006-2017 eyeo GmbH 3 * Copyright (C) 2006-2017 eyeo GmbH
4 * 4 *
5 * Adblock Plus is free software: you can redistribute it and/or modify 5 * Adblock Plus is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 3 as 6 * it under the terms of the GNU General Public License version 3 as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
8 * 8 *
9 * Adblock Plus is distributed in the hope that it will be useful, 9 * Adblock Plus is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 213
214 std::string Resolve(const std::string& path) const override 214 std::string Resolve(const std::string& path) const override
215 { 215 {
216 return path; 216 return path;
217 } 217 }
218 public: 218 public:
219 Scheduler scheduler; 219 Scheduler scheduler;
220 }; 220 };
221 221
222 AdblockPlus::FilterEnginePtr CreateFilterEngine(LazyFileSystem& fileSystem, 222 AdblockPlus::FilterEnginePtr CreateFilterEngine(LazyFileSystem& fileSystem,
223 AdblockPlus::Platform& paltform, 223 AdblockPlus::Platform& platform,
hub 2017/08/07 12:05:56 typo: platform not paltform
224 const AdblockPlus::FilterEngine::CreationParameters& creationParams = AdblockP lus::FilterEngine::CreationParameters()); 224 const AdblockPlus::FilterEngine::CreationParameters& creationParams = AdblockP lus::FilterEngine::CreationParameters());
225 225
226 class NoopWebRequest : public AdblockPlus::IWebRequest 226 class NoopWebRequest : public AdblockPlus::IWebRequest
227 { 227 {
228 public: 228 public:
229 void GET(const std::string& url, const AdblockPlus::HeaderList& requestHeaders , const GetCallback& callback) override 229 void GET(const std::string& url, const AdblockPlus::HeaderList& requestHeaders , const GetCallback& callback) override
230 { 230 {
231 } 231 }
232 }; 232 };
233 233
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
267 protected: 267 protected:
268 std::unique_ptr<AdblockPlus::Platform> platform; 268 std::unique_ptr<AdblockPlus::Platform> platform;
269 269
270 virtual void SetUp() 270 virtual void SetUp()
271 { 271 {
272 platform.reset(new AdblockPlus::Platform(ThrowingPlatformCreationParameters( ))); 272 platform.reset(new AdblockPlus::Platform(ThrowingPlatformCreationParameters( )));
273 } 273 }
274 }; 274 };
275 275
276 #endif 276 #endif
LEFTRIGHT

Powered by Google App Engine
This is Rietveld