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

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

Issue 8540012: Enable extension APIs for content scripts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 9 years, 1 month 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/extension_process_bindings.h
diff --git a/chrome/renderer/extensions/extension_process_bindings.h b/chrome/renderer/extensions/extension_process_bindings.h
deleted file mode 100644
index 11be6cd0e6ded02394e5060c0366b8df2bd77035..0000000000000000000000000000000000000000
--- a/chrome/renderer/extensions/extension_process_bindings.h
+++ /dev/null
@@ -1,35 +0,0 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
-// 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_
-#pragma once
-
-#include <string>
-
-class ExtensionDispatcher;
-class ChromeV8ContextSet;
-
-namespace v8 {
-class Extension;
-}
-
-class ExtensionProcessBindings {
- public:
- static v8::Extension* Get(ExtensionDispatcher* extension_dispatcher);
-
- // Handles a response to an API request. Sets |extension_id|.
- static void HandleResponse(const ChromeV8ContextSet& contexts,
- int request_id,
- bool success,
- const std::string& response,
- const std::string& error,
- std::string* extension_id);
-
- static bool HasPendingRequests(const std::string& extension_id);
-};
-
-#endif // CHROME_RENDERER_EXTENSIONS_EXTENSION_PROCESS_BINDINGS_H_
« no previous file with comments | « chrome/renderer/extensions/extension_helper.cc ('k') | chrome/renderer/extensions/extension_process_bindings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698