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

Unified Diff: chrome/renderer/extensions/sync_file_system_custom_bindings.cc

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.cc
diff --git a/chrome/renderer/extensions/sync_file_system_custom_bindings.cc b/chrome/renderer/extensions/sync_file_system_custom_bindings.cc
index b5e6480276548968663693fbbd38083a6016cd3e..f0268fe5fbf50f8302cfe4ff18d47a64dc09e42c 100644
--- a/chrome/renderer/extensions/sync_file_system_custom_bindings.cc
+++ b/chrome/renderer/extensions/sync_file_system_custom_bindings.cc
@@ -6,8 +6,7 @@
#include <string>
-#include "chrome/common/extensions/extension_constants.h"
-#include "chrome/renderer/extensions/chrome_v8_context.h"
+#include "extensions/renderer/script_context.h"
#include "third_party/WebKit/public/web/WebDOMFileSystem.h"
#include "third_party/WebKit/public/web/WebLocalFrame.h"
#include "v8/include/v8.h"
@@ -16,8 +15,8 @@
namespace extensions {
SyncFileSystemCustomBindings::SyncFileSystemCustomBindings(
- Dispatcher* dispatcher, ChromeV8Context* context)
- : ChromeV8Extension(dispatcher, context) {
+ ScriptContext* context)
+ : ObjectBackedNativeHandler(context) {
RouteFunction(
"GetSyncFileSystemObject",
base::Bind(&SyncFileSystemCustomBindings::GetSyncFileSystemObject,

Powered by Google App Engine
This is Rietveld 408576698