| 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_CONTENT_RULES_REGISTRY
_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_CONTENT_CONTENT_RULES_REGISTRY
_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_CONTENT_CONTENT_RULES_REGISTRY
_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_CONTENT_CONTENT_RULES_REGISTRY
_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| 11 #include <vector> | 11 #include <vector> |
| 12 | 12 |
| 13 #include "base/memory/linked_ptr.h" | 13 #include "base/memory/linked_ptr.h" |
| 14 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
| 15 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
| 16 #include "base/time/time.h" | 16 #include "base/time/time.h" |
| 17 #include "chrome/browser/extensions/api/declarative/declarative_rule.h" | |
| 18 #include "chrome/browser/extensions/api/declarative/rules_registry.h" | |
| 19 #include "chrome/browser/extensions/api/declarative_content/content_action.h" | 17 #include "chrome/browser/extensions/api/declarative_content/content_action.h" |
| 20 #include "chrome/browser/extensions/api/declarative_content/content_condition.h" | 18 #include "chrome/browser/extensions/api/declarative_content/content_condition.h" |
| 21 #include "components/url_matcher/url_matcher.h" | 19 #include "components/url_matcher/url_matcher.h" |
| 22 #include "content/public/browser/notification_observer.h" | 20 #include "content/public/browser/notification_observer.h" |
| 23 #include "content/public/browser/notification_registrar.h" | 21 #include "content/public/browser/notification_registrar.h" |
| 22 #include "extensions/browser/api/declarative/declarative_rule.h" |
| 23 #include "extensions/browser/api/declarative/rules_registry.h" |
| 24 #include "extensions/browser/info_map.h" | 24 #include "extensions/browser/info_map.h" |
| 25 | 25 |
| 26 class ContentPermissions; | 26 class ContentPermissions; |
| 27 | 27 |
| 28 namespace content { | 28 namespace content { |
| 29 class BrowserContext; | 29 class BrowserContext; |
| 30 class RenderProcessHost; | 30 class RenderProcessHost; |
| 31 class WebContents; | 31 class WebContents; |
| 32 struct FrameNavigateParams; | 32 struct FrameNavigateParams; |
| 33 struct LoadCommittedDetails; | 33 struct LoadCommittedDetails; |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 content::NotificationRegistrar registrar_; | 142 content::NotificationRegistrar registrar_; |
| 143 | 143 |
| 144 scoped_refptr<InfoMap> extension_info_map_; | 144 scoped_refptr<InfoMap> extension_info_map_; |
| 145 | 145 |
| 146 DISALLOW_COPY_AND_ASSIGN(ContentRulesRegistry); | 146 DISALLOW_COPY_AND_ASSIGN(ContentRulesRegistry); |
| 147 }; | 147 }; |
| 148 | 148 |
| 149 } // namespace extensions | 149 } // namespace extensions |
| 150 | 150 |
| 151 #endif // CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_CONTENT_CONTENT_RULES_REGIS
TRY_H_ | 151 #endif // CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_CONTENT_CONTENT_RULES_REGIS
TRY_H_ |
| OLD | NEW |