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

Unified Diff: include/AdblockPlus/JsEngine.h

Issue 29428624: Issue 5180 - stop using of WebRequestPtr in tests (Closed) Base URL: https://github.com/adblockplus/libadblockplus.git
Patch Set: Created May 3, 2017, 2:07 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | include/AdblockPlus/WebRequest.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/AdblockPlus/JsEngine.h
diff --git a/include/AdblockPlus/JsEngine.h b/include/AdblockPlus/JsEngine.h
index f54b98febd3d256ac88fa027c572aae948bd24bc..3b3a7833c5cf99e7042d0c40dad1cbc5e4c11aa8 100644
--- a/include/AdblockPlus/JsEngine.h
+++ b/include/AdblockPlus/JsEngine.h
@@ -265,7 +265,7 @@ namespace AdblockPlus
/**
* @see `SetWebRequest()`.
*/
- WebRequestPtr GetWebRequest() const;
+ WebRequestSharedPtr GetWebRequest() const;
/**
* Sets the `WebRequest` implementation used for XMLHttpRequests.
@@ -273,7 +273,7 @@ namespace AdblockPlus
* instance by default, which might be sufficient.
* @param The `WebRequest` instance to use.
*/
- void SetWebRequest(const WebRequestPtr& val);
+ void SetWebRequest(const WebRequestSharedPtr& val);
/**
* @see `SetLogSystem()`.
@@ -316,7 +316,7 @@ namespace AdblockPlus
ScopedV8IsolatePtr isolate;
FileSystemPtr fileSystem;
- WebRequestPtr webRequest;
+ WebRequestSharedPtr webRequest;
LogSystemPtr logSystem;
std::unique_ptr<v8::Persistent<v8::Context>> context;
EventMap eventCallbacks;
« no previous file with comments | « no previous file | include/AdblockPlus/WebRequest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld