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

Side by Side Diff: chrome/browser/extensions/extension_function_dispatcher.h

Issue 64273006: Move ExtensionFunction to the extensions component. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_function.cc ('k') | chrome/browser/extensions/extension_function_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698