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

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

Issue 12313142: Revert 184837 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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
« no previous file with comments | « chrome/common/extensions/features/feature.cc ('k') | chrome/renderer/extensions/api_definitions_natives.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/extensions/api_definitions_natives.h
===================================================================
--- chrome/renderer/extensions/api_definitions_natives.h (revision 184858)
+++ chrome/renderer/extensions/api_definitions_natives.h (working copy)
@@ -10,14 +10,12 @@
#include "v8/include/v8.h"
-class ChromeV8Context;
-
namespace extensions {
// Native functions for JS to get access to the schemas for extension APIs.
class ApiDefinitionsNatives : public ChromeV8Extension {
public:
- ApiDefinitionsNatives(Dispatcher* dispatcher, ChromeV8Context* context);
+ explicit ApiDefinitionsNatives(Dispatcher* dispatcher);
private:
// Returns the list of schemas that are available to the calling context
@@ -25,8 +23,6 @@
// of all schemas that are available to the calling context.
v8::Handle<v8::Value> GetExtensionAPIDefinition(const v8::Arguments& args);
- ChromeV8Context* context_;
-
DISALLOW_COPY_AND_ASSIGN(ApiDefinitionsNatives);
};
« no previous file with comments | « chrome/common/extensions/features/feature.cc ('k') | chrome/renderer/extensions/api_definitions_natives.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698