| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_FUNCTION_DISPATCHER_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_FUNCTION_DISPATCHER_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_FUNCTION_DISPATCHER_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_FUNCTION_DISPATCHER_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
| 13 #include "chrome/browser/extensions/extension_function.h" | 13 #include "extensions/browser/extension_function.h" |
| 14 #include "ipc/ipc_sender.h" | 14 #include "ipc/ipc_sender.h" |
| 15 #include "url/gurl.h" | 15 #include "url/gurl.h" |
| 16 | 16 |
| 17 class ChromeRenderMessageFilter; | 17 class ChromeRenderMessageFilter; |
| 18 class Profile; | 18 class Profile; |
| 19 struct ExtensionHostMsg_Request_Params; | 19 struct ExtensionHostMsg_Request_Params; |
| 20 | 20 |
| 21 namespace content { | 21 namespace content { |
| 22 class RenderViewHost; | 22 class RenderViewHost; |
| 23 class WebContents; | 23 class WebContents; |
| (...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 161 | 161 |
| 162 // This map doesn't own either the keys or the values. When a RenderViewHost | 162 // This map doesn't own either the keys or the values. When a RenderViewHost |
| 163 // instance goes away, the corresponding entry in this map (if exists) will be | 163 // instance goes away, the corresponding entry in this map (if exists) will be |
| 164 // removed. | 164 // removed. |
| 165 typedef std::map<content::RenderViewHost*, UIThreadResponseCallbackWrapper*> | 165 typedef std::map<content::RenderViewHost*, UIThreadResponseCallbackWrapper*> |
| 166 UIThreadResponseCallbackWrapperMap; | 166 UIThreadResponseCallbackWrapperMap; |
| 167 UIThreadResponseCallbackWrapperMap ui_thread_response_callback_wrappers_; | 167 UIThreadResponseCallbackWrapperMap ui_thread_response_callback_wrappers_; |
| 168 }; | 168 }; |
| 169 | 169 |
| 170 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_FUNCTION_DISPATCHER_H_ | 170 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_FUNCTION_DISPATCHER_H_ |
| OLD | NEW |