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_API_DECLARATIVE_CONTENT_CHROME_CONTENT_RULES_R
EGISTRY_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_CONTENT_CHROME_CONTENT_RULES_R
EGISTRY_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_CONTENT_CHROME_CONTENT_RULES_R
EGISTRY_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_CONTENT_CHROME_CONTENT_RULES_R
EGISTRY_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include <map> | 10 #include <map> |
11 #include <memory> | 11 #include <memory> |
12 #include <set> | 12 #include <set> |
13 #include <string> | 13 #include <string> |
14 #include <utility> | 14 #include <utility> |
15 #include <vector> | 15 #include <vector> |
16 | 16 |
17 #include "base/callback.h" | 17 #include "base/callback.h" |
18 #include "base/macros.h" | 18 #include "base/macros.h" |
19 #include "base/memory/linked_ptr.h" | 19 #include "base/memory/linked_ptr.h" |
20 #include "chrome/browser/extensions/api/declarative_content/content_action.h" | 20 #include "chrome/browser/extensions/api/declarative_content/content_action.h" |
21 #include "chrome/browser/extensions/api/declarative_content/content_condition.h" | 21 #include "chrome/browser/extensions/api/declarative_content/content_condition.h" |
22 #include "chrome/browser/extensions/api/declarative_content/content_predicate_ev
aluator.h" | 22 #include "chrome/browser/extensions/api/declarative_content/content_predicate_ev
aluator.h" |
23 #include "content/public/browser/notification_observer.h" | 23 #include "content/public/browser/notification_observer.h" |
24 #include "content/public/browser/notification_registrar.h" | 24 #include "content/public/browser/notification_registrar.h" |
25 #include "extensions/browser/api/declarative_content/content_rules_registry.h" | 25 #include "extensions/browser/api/declarative_content/content_rules_registry.h" |
26 #include "extensions/common/extension.h" | 26 #include "extensions/common/extension_id.h" |
27 | 27 |
28 namespace content { | 28 namespace content { |
29 class BrowserContext; | 29 class BrowserContext; |
30 class WebContents; | 30 class WebContents; |
31 struct FrameNavigateParams; | 31 struct FrameNavigateParams; |
32 struct LoadCommittedDetails; | 32 struct LoadCommittedDetails; |
33 } | 33 } |
34 | 34 |
35 namespace extensions { | 35 namespace extensions { |
36 | 36 |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
186 | 186 |
187 // Manages our notification registrations. | 187 // Manages our notification registrations. |
188 content::NotificationRegistrar registrar_; | 188 content::NotificationRegistrar registrar_; |
189 | 189 |
190 DISALLOW_COPY_AND_ASSIGN(ChromeContentRulesRegistry); | 190 DISALLOW_COPY_AND_ASSIGN(ChromeContentRulesRegistry); |
191 }; | 191 }; |
192 | 192 |
193 } // namespace extensions | 193 } // namespace extensions |
194 | 194 |
195 #endif // CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_CONTENT_CHROME_CONTENT_RULE
S_REGISTRY_H_ | 195 #endif // CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_CONTENT_CHROME_CONTENT_RULE
S_REGISTRY_H_ |
OLD | NEW |