Index: chrome/renderer/extensions/schema_generated_bindings.h |
diff --git a/chrome/renderer/extensions/extension_process_bindings.h b/chrome/renderer/extensions/schema_generated_bindings.h |
similarity index 68% |
rename from chrome/renderer/extensions/extension_process_bindings.h |
rename to chrome/renderer/extensions/schema_generated_bindings.h |
index 11be6cd0e6ded02394e5060c0366b8df2bd77035..62786b19bfdfaf62ecd6d75609075506720a0f43 100644 |
--- a/chrome/renderer/extensions/extension_process_bindings.h |
+++ b/chrome/renderer/extensions/schema_generated_bindings.h |
@@ -2,10 +2,8 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-// Exposes extension APIs into the extension process. |
- |
-#ifndef CHROME_RENDERER_EXTENSIONS_EXTENSION_PROCESS_BINDINGS_H_ |
-#define CHROME_RENDERER_EXTENSIONS_EXTENSION_PROCESS_BINDINGS_H_ |
+#ifndef CHROME_RENDERER_EXTENSIONS_SCHEMA_GENERATED_BINDINGS_H_ |
+#define CHROME_RENDERER_EXTENSIONS_SCHEMA_GENERATED_BINDINGS_H_ |
#pragma once |
#include <string> |
@@ -17,7 +15,11 @@ namespace v8 { |
class Extension; |
} |
-class ExtensionProcessBindings { |
+namespace extensions { |
+ |
+// Generates JavaScript bindings for the extension system from the declarations |
+// in the extension_api.json file. |
+class SchemaGeneratedBindings { |
public: |
static v8::Extension* Get(ExtensionDispatcher* extension_dispatcher); |
@@ -32,4 +34,6 @@ class ExtensionProcessBindings { |
static bool HasPendingRequests(const std::string& extension_id); |
}; |
-#endif // CHROME_RENDERER_EXTENSIONS_EXTENSION_PROCESS_BINDINGS_H_ |
+} // namespace extensions |
+ |
+#endif // CHROME_RENDERER_EXTENSIONS_SCHEMA_GENERATED_BINDINGS_H_ |