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

Unified Diff: chrome/renderer/extensions/page_capture_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/page_capture_custom_bindings.h
diff --git a/chrome/renderer/extensions/page_capture_custom_bindings.h b/chrome/renderer/extensions/page_capture_custom_bindings.h
index e568ab5bbf3a4dad846923eec45a71a808b1c870..312ba010b57b5005127b64b56446ab7a80f99b9e 100644
--- a/chrome/renderer/extensions/page_capture_custom_bindings.h
+++ b/chrome/renderer/extensions/page_capture_custom_bindings.h
@@ -5,15 +5,14 @@
#ifndef CHROME_RENDERER_EXTENSIONS_PAGE_CAPTURE_CUSTOM_BINDINGS_H_
#define CHROME_RENDERER_EXTENSIONS_PAGE_CAPTURE_CUSTOM_BINDINGS_H_
-#include "chrome/renderer/extensions/chrome_v8_extension.h"
+#include "extensions/renderer/object_backed_native_handler.h"
namespace extensions {
// Implements custom bindings for the pageCapture API.
-class PageCaptureCustomBindings : public ChromeV8Extension {
+class PageCaptureCustomBindings : public ObjectBackedNativeHandler {
public:
- PageCaptureCustomBindings(Dispatcher* dispatcher,
- ChromeV8Context* context);
+ explicit PageCaptureCustomBindings(ScriptContext* context);
private:
// Creates a Blob with the content of the specified file.

Powered by Google App Engine
This is Rietveld 408576698