| 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_CONTENT_SETTINGS_CONTENT_SETTINGS_STORE_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_CONTENT_SETTINGS_CONTENT_SETTINGS_STORE_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_API_CONTENT_SETTINGS_CONTENT_SETTINGS_STORE_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_API_CONTENT_SETTINGS_CONTENT_SETTINGS_STORE_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
| 12 #include "base/observer_list.h" | 12 #include "base/observer_list.h" |
| 13 #include "base/synchronization/lock.h" | 13 #include "base/synchronization/lock.h" |
| 14 #include "base/threading/thread_checker.h" | 14 #include "base/threading/thread_checker.h" |
| 15 #include "base/time/time.h" | 15 #include "base/time/time.h" |
| 16 #include "base/tuple.h" | 16 #include "base/tuple.h" |
| 17 #include "chrome/browser/content_settings/content_settings_provider.h" | 17 #include "chrome/browser/content_settings/content_settings_provider.h" |
| 18 #include "chrome/common/content_settings.h" | 18 #include "chrome/common/content_settings.h" |
| 19 #include "chrome/common/content_settings_pattern.h" | 19 #include "chrome/common/content_settings_pattern.h" |
| 20 #include "extensions/browser/extension_prefs_scope.h" | 20 #include "extensions/browser/extension_prefs_scope.h" |
| 21 #include "url/gurl.h" | |
| 22 | 21 |
| 23 namespace base { | 22 namespace base { |
| 24 class ListValue; | 23 class ListValue; |
| 25 } | 24 } |
| 26 | 25 |
| 27 namespace content_settings { | 26 namespace content_settings { |
| 28 class OriginIdentifierValueMap; | 27 class OriginIdentifierValueMap; |
| 29 class RuleIterator; | 28 class RuleIterator; |
| 30 } | 29 } |
| 31 | 30 |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 138 ObserverList<Observer, false> observers_; | 137 ObserverList<Observer, false> observers_; |
| 139 | 138 |
| 140 mutable base::Lock lock_; | 139 mutable base::Lock lock_; |
| 141 | 140 |
| 142 DISALLOW_COPY_AND_ASSIGN(ContentSettingsStore); | 141 DISALLOW_COPY_AND_ASSIGN(ContentSettingsStore); |
| 143 }; | 142 }; |
| 144 | 143 |
| 145 } // namespace extensions | 144 } // namespace extensions |
| 146 | 145 |
| 147 #endif // CHROME_BROWSER_EXTENSIONS_API_CONTENT_SETTINGS_CONTENT_SETTINGS_STORE
_H_ | 146 #endif // CHROME_BROWSER_EXTENSIONS_API_CONTENT_SETTINGS_CONTENT_SETTINGS_STORE
_H_ |
| OLD | NEW |