Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(356)

Unified Diff: chrome/renderer/extensions/module_system_unittest.cc

Issue 11571014: Lazy load chrome.* APIs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: addressed comments Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/renderer/extensions/module_system_unittest.cc
diff --git a/chrome/renderer/extensions/module_system_unittest.cc b/chrome/renderer/extensions/module_system_unittest.cc
index 9115adb70af8151cc8ca4092338303d10d34c9ad..a7f41f04ab4a13e3c5d5795ef502b30af74d7d47 100644
--- a/chrome/renderer/extensions/module_system_unittest.cc
+++ b/chrome/renderer/extensions/module_system_unittest.cc
@@ -8,11 +8,12 @@
using extensions::ModuleSystem;
not at google - send to devlin 2013/02/15 22:26:17 TODO: put this file in extensions namespace.
cduvall 2013/02/19 23:58:49 Done.
using extensions::NativeHandler;
+using extensions::ObjectBackedNativeHandler;
-class CounterNatives : public NativeHandler {
+class CounterNatives : public ObjectBackedNativeHandler {
public:
explicit CounterNatives(v8::Isolate* isolate)
- : NativeHandler(isolate), counter_(0) {
+ : ObjectBackedNativeHandler(isolate), counter_(0) {
RouteFunction("Get", base::Bind(&CounterNatives::Get,
base::Unretained(this)));
RouteFunction("Increment", base::Bind(&CounterNatives::Increment,

Powered by Google App Engine
This is Rietveld 408576698