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

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

Issue 9359040: WIP IDL-IPC2 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Checkpoint before going back to returning ListValue via ExtensionMsg_Response. Created 8 years, 10 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/browser/extensions/extension_function_dispatcher.h
diff --git a/chrome/browser/extensions/extension_function_dispatcher.h b/chrome/browser/extensions/extension_function_dispatcher.h
index cb429e0bdb41330c356b0938a015c8ed042e5cf0..bdcc175769a80f3e1b6f4d98f2ab0c8a90b594b6 100644
--- a/chrome/browser/extensions/extension_function_dispatcher.h
+++ b/chrome/browser/extensions/extension_function_dispatcher.h
@@ -6,13 +6,15 @@
#define CHROME_BROWSER_EXTENSIONS_EXTENSION_FUNCTION_DISPATCHER_H_
#pragma once
+#include <map>
#include <string>
#include <vector>
#include "base/memory/weak_ptr.h"
+#include "chrome/browser/extensions/extension_factory_registry.h"
#include "chrome/browser/profiles/profile.h"
-#include "ipc/ipc_message.h"
#include "googleurl/src/gurl.h"
+#include "ipc/ipc_message.h"
class Browser;
class ChromeRenderMessageFilter;
@@ -30,9 +32,6 @@ namespace extensions {
class ProcessMap;
}
-// A factory function for creating new ExtensionFunction instances.
-typedef ExtensionFunction* (*ExtensionFunctionFactory)();
-
// ExtensionFunctionDispatcher receives requests to execute functions from
// Chrome extensions running in a RenderViewHost and dispatches them to the
// appropriate handler. It lives entirely on the UI thread.
« no previous file with comments | « chrome/browser/extensions/extension_factory_registry.cc ('k') | chrome/browser/extensions/extension_function_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698