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