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

Side by Side Diff: src/GlobalJsObject.h

Issue 29416579: Issue 5034 - Part 1: Pass a JsValue directly to SetProperty() and return from GetProperty() (Closed) Base URL: https://hg.adblockplus.org/libadblockplus/
Patch Set: Created April 18, 2017, 9:17 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
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 10 matching lines...) Expand all
21 #include <v8.h> 21 #include <v8.h>
22 #include <AdblockPlus/JsEngine.h> 22 #include <AdblockPlus/JsEngine.h>
23 23
24 namespace AdblockPlus 24 namespace AdblockPlus
25 { 25 {
26 class AppInfo; 26 class AppInfo;
27 class JsEngine; 27 class JsEngine;
28 28
29 namespace GlobalJsObject 29 namespace GlobalJsObject
30 { 30 {
31 JsValuePtr Setup(JsEngine& jsEngine, const AppInfo& appInfo, const JsValuePt r& obj); 31 JsValue& Setup(JsEngine& jsEngine, const AppInfo& appInfo, JsValue& obj);
32 } 32 }
33 } 33 }
34 34
35 #endif 35 #endif
OLDNEW
« no previous file with comments | « src/FilterEngine.cpp ('k') | src/GlobalJsObject.cpp » ('j') | src/JsEngine.cpp » ('J')

Powered by Google App Engine
This is Rietveld