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

Unified Diff: chrome/browser/extensions/extension_api_handler.h

Issue 42680: Add more of the server-side plumbing for extension APIs. Also (Closed)
Patch Set: Introduce SyncExtensionFunction Created 11 years, 9 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
« no previous file with comments | « chrome/browser/browser.vcproj ('k') | chrome/browser/extensions/extension_api_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_api_handler.h
diff --git a/chrome/browser/extensions/extension_api_handler.h b/chrome/browser/extensions/extension_api_handler.h
deleted file mode 100644
index 3cd6efd99efd7b2b10bb1e4907c7f8386b7a811a..0000000000000000000000000000000000000000
--- a/chrome/browser/extensions/extension_api_handler.h
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright (c) 2009 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.
-
-#ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_APIS_H_
-#define CHROME_BROWSER_EXTENSIONS_EXTENSION_APIS_H_
-
-#include <string>
-
-class RenderViewHost;
-
-// ExtensionAPIHandler is the top-level entry point for extension callbacks
-// in the browser process. It lives on the UI thread.
-class ExtensionAPIHandler {
- public:
- ExtensionAPIHandler(RenderViewHost* render_view_host);
-
- // Handle a request to perform some synchronous API.
- // TODO(aa): args should be a Value object.
- void HandleRequest(const std::string& name, const std::string& args,
- int callback_id);
-
- private:
- // TODO(aa): Once there can be APIs that are asynchronous wrt the browser's UI
- // thread, we may have to have to do something about this raw pointer.
- RenderViewHost* render_view_host_;
-};
-
-#endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_APIS_H_
« no previous file with comments | « chrome/browser/browser.vcproj ('k') | chrome/browser/extensions/extension_api_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698