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

Unified Diff: chrome/renderer/extensions/sync_file_system_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/sync_file_system_custom_bindings.h
diff --git a/chrome/renderer/extensions/sync_file_system_custom_bindings.h b/chrome/renderer/extensions/sync_file_system_custom_bindings.h
index 1372dc0c35ab13ff5926e7fb028ac9dcb2b05e4d..fc38357defbc09f19d66117a60796b0595655219 100644
--- a/chrome/renderer/extensions/sync_file_system_custom_bindings.h
+++ b/chrome/renderer/extensions/sync_file_system_custom_bindings.h
@@ -5,16 +5,15 @@
#ifndef CHROME_RENDERER_EXTENSIONS_SYNC_FILE_SYSTEM_CUSTOM_BINDINGS_H_
#define CHROME_RENDERER_EXTENSIONS_SYNC_FILE_SYSTEM_CUSTOM_BINDINGS_H_
-#include "chrome/renderer/extensions/chrome_v8_extension.h"
+#include "extensions/renderer/object_backed_native_handler.h"
#include "v8/include/v8.h"
namespace extensions {
// Implements custom bindings for the sync file system API.
-class SyncFileSystemCustomBindings : public ChromeV8Extension {
+class SyncFileSystemCustomBindings : public ObjectBackedNativeHandler {
public:
- SyncFileSystemCustomBindings(Dispatcher* dispatcher,
- ChromeV8Context* context);
+ explicit SyncFileSystemCustomBindings(ScriptContext* context);
private:
// FileSystemObject GetSyncFileSystemObject(string name, string root_url):

Powered by Google App Engine
This is Rietveld 408576698