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 <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
12 #include "chrome/browser/profiles/profile.h" | |
13 #include "ipc/ipc_sender.h" | 12 #include "ipc/ipc_sender.h" |
14 #include "googleurl/src/gurl.h" | 13 #include "googleurl/src/gurl.h" |
15 | 14 |
16 class ChromeRenderMessageFilter; | 15 class ChromeRenderMessageFilter; |
17 class ExtensionFunction; | 16 class ExtensionFunction; |
18 class ExtensionInfoMap; | 17 class ExtensionInfoMap; |
19 class Profile; | 18 class Profile; |
20 struct ExtensionHostMsg_Request_Params; | 19 struct ExtensionHostMsg_Request_Params; |
21 | 20 |
22 namespace content { | 21 namespace content { |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 static void SendAccessDenied(IPC::Sender* ipc_sender, | 136 static void SendAccessDenied(IPC::Sender* ipc_sender, |
138 int routing_id, | 137 int routing_id, |
139 int request_id); | 138 int request_id); |
140 | 139 |
141 Profile* profile_; | 140 Profile* profile_; |
142 | 141 |
143 Delegate* delegate_; | 142 Delegate* delegate_; |
144 }; | 143 }; |
145 | 144 |
146 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_FUNCTION_DISPATCHER_H_ | 145 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_FUNCTION_DISPATCHER_H_ |
OLD | NEW |