OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_RENDERER_EXTENSIONS_EXTENSION_DISPATCHER_H_ | 5 #ifndef CHROME_RENDERER_EXTENSIONS_EXTENSION_DISPATCHER_H_ |
6 #define CHROME_RENDERER_EXTENSIONS_EXTENSION_DISPATCHER_H_ | 6 #define CHROME_RENDERER_EXTENSIONS_EXTENSION_DISPATCHER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "base/shared_memory.h" | 13 #include "base/shared_memory.h" |
14 #include "base/timer.h" | 14 #include "base/timer.h" |
15 #include "content/public/renderer/render_process_observer.h" | 15 #include "content/public/renderer/render_process_observer.h" |
16 #include "chrome/common/extensions/extension_set.h" | 16 #include "chrome/common/extensions/extension_set.h" |
17 #include "chrome/renderer/extensions/chrome_v8_context_set.h" | 17 #include "chrome/renderer/extensions/chrome_v8_context_set.h" |
18 #include "v8/include/v8.h" | 18 #include "v8/include/v8.h" |
19 | 19 |
20 class GURL; | 20 class GURL; |
21 class URLPattern; | 21 class URLPattern; |
22 class UserScriptSlave; | 22 class UserScriptSlave; |
23 struct ExtensionMsg_Loaded_Params; | 23 struct ExtensionMsg_Loaded_Params; |
24 struct ExtensionMsg_UpdatePermissions_Params; | |
25 | 24 |
26 namespace WebKit { | 25 namespace WebKit { |
27 class WebFrame; | 26 class WebFrame; |
28 } | 27 } |
29 | 28 |
30 namespace base { | 29 namespace base { |
31 class ListValue; | 30 class ListValue; |
32 } | 31 } |
33 | 32 |
34 namespace content { | 33 namespace content { |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 // Status of webrequest usage for known extensions. | 168 // Status of webrequest usage for known extensions. |
170 // TODO(mpcomplete): remove. http://crbug.com/100411 | 169 // TODO(mpcomplete): remove. http://crbug.com/100411 |
171 bool webrequest_adblock_; | 170 bool webrequest_adblock_; |
172 bool webrequest_adblock_plus_; | 171 bool webrequest_adblock_plus_; |
173 bool webrequest_other_; | 172 bool webrequest_other_; |
174 | 173 |
175 DISALLOW_COPY_AND_ASSIGN(ExtensionDispatcher); | 174 DISALLOW_COPY_AND_ASSIGN(ExtensionDispatcher); |
176 }; | 175 }; |
177 | 176 |
178 #endif // CHROME_RENDERER_EXTENSIONS_EXTENSION_DISPATCHER_H_ | 177 #endif // CHROME_RENDERER_EXTENSIONS_EXTENSION_DISPATCHER_H_ |
OLD | NEW |