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. |