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

Unified Diff: chrome/renderer/extensions/native_handler.h

Issue 11571014: Lazy load chrome.* APIs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years 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/native_handler.h
diff --git a/chrome/renderer/extensions/native_handler.h b/chrome/renderer/extensions/native_handler.h
index f9eb4fe0e40ccfc3bb52812f0db65d7f9726d5e1..1eae4b96a311717aad98641b8101fe5c2c96b497 100644
--- a/chrome/renderer/extensions/native_handler.h
+++ b/chrome/renderer/extensions/native_handler.h
@@ -46,11 +46,12 @@ class NativeHandler {
void RouteStaticFunction(const std::string& name,
const HandlerFunc handler_func);
+ v8::Persistent<v8::ObjectTemplate> object_template_;
+
private:
static v8::Handle<v8::Value> Router(const v8::Arguments& args);
std::vector<linked_ptr<HandlerFunction> > handler_functions_;
- v8::Persistent<v8::ObjectTemplate> object_template_;
DISALLOW_COPY_AND_ASSIGN(NativeHandler);
};

Powered by Google App Engine
This is Rietveld 408576698