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

Delta Between Two Patch Sets: include/AdblockPlus/Platform.h

Issue 29527588: Issue 5570 - Make V8 isolate injectable into JsEngine (Closed) Base URL: https://github.com/adblockplus/libadblockplus.git
Left Patch Set: fix typo Created Aug. 25, 2017, 3:02 p.m.
Right Patch Set: rebase Created Aug. 25, 2017, 3:08 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 | « include/AdblockPlus/JsEngine.h ('k') | src/JsEngine.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-present eyeo GmbH 3 * Copyright (C) 2006-present 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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 * @return The asynchronous IFileSystem implementation. 136 * @return The asynchronous IFileSystem implementation.
137 */ 137 */
138 IFileSystem& GetFileSystem(); 138 IFileSystem& GetFileSystem();
139 139
140 /** 140 /**
141 * @return The asynchronous IWebRequest implementation. 141 * @return The asynchronous IWebRequest implementation.
142 */ 142 */
143 IWebRequest& GetWebRequest(); 143 IWebRequest& GetWebRequest();
144 144
145 /** 145 /**
146 * @see `SetLogSystem()`. 146 * @return The LogSystem implementation.
147 */ 147 */
148 LogSystem& GetLogSystem(); 148 LogSystem& GetLogSystem();
149 149
150 private: 150 private:
151 LogSystemPtr logSystem; 151 LogSystemPtr logSystem;
152 TimerPtr timer; 152 TimerPtr timer;
153 FileSystemPtr fileSystem; 153 FileSystemPtr fileSystem;
154 WebRequestPtr webRequest; 154 WebRequestPtr webRequest;
155 // used for creation and deletion of modules. 155 // used for creation and deletion of modules.
156 std::mutex modulesMutex; 156 std::mutex modulesMutex;
157 std::shared_ptr<JsEngine> jsEngine; 157 std::shared_ptr<JsEngine> jsEngine;
158 std::shared_future<FilterEnginePtr> filterEngine; 158 std::shared_future<FilterEnginePtr> filterEngine;
159 }; 159 };
160 } 160 }
161 161
162 #endif // ADBLOCK_PLUS_PLATFORM_H 162 #endif // ADBLOCK_PLUS_PLATFORM_H
LEFTRIGHT

Powered by Google App Engine
This is Rietveld