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

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

Issue 240603003: Remove ChromeV8Extension & most of ChromeV8Context (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cleanup Created 6 years, 8 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/file_browser_handler_custom_bindings.h
diff --git a/chrome/renderer/extensions/file_browser_handler_custom_bindings.h b/chrome/renderer/extensions/file_browser_handler_custom_bindings.h
index b7fe20372ff656541daf632e44e910fd00e53e4e..07a14e3e56f305e25bea397a551f515a421f0cfe 100644
--- a/chrome/renderer/extensions/file_browser_handler_custom_bindings.h
+++ b/chrome/renderer/extensions/file_browser_handler_custom_bindings.h
@@ -6,15 +6,14 @@
#define CHROME_RENDERER_EXTENSIONS_FILE_BROWSER_HANDLER_CUSTOM_BINDINGS_H_
#include "base/compiler_specific.h"
-#include "chrome/renderer/extensions/chrome_v8_extension.h"
+#include "extensions/renderer/object_backed_native_handler.h"
namespace extensions {
// Custom bindings for the fileBrowserHandler API.
-class FileBrowserHandlerCustomBindings : public ChromeV8Extension {
+class FileBrowserHandlerCustomBindings : public ObjectBackedNativeHandler {
public:
- FileBrowserHandlerCustomBindings(Dispatcher* dispatcher,
- ChromeV8Context* context);
+ explicit FileBrowserHandlerCustomBindings(ScriptContext* context);
private:
void GetExternalFileEntry(const v8::FunctionCallbackInfo<v8::Value>& args);

Powered by Google App Engine
This is Rietveld 408576698