| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 COMPONENTS_POLICY_CORE_BROWSER_URL_BLACKLIST_MANAGER_H_ | 5 #ifndef COMPONENTS_POLICY_CORE_BROWSER_URL_BLACKLIST_MANAGER_H_ |
| 6 #define COMPONENTS_POLICY_CORE_BROWSER_URL_BLACKLIST_MANAGER_H_ | 6 #define COMPONENTS_POLICY_CORE_BROWSER_URL_BLACKLIST_MANAGER_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| 11 #include <map> | 11 #include <map> |
| 12 #include <string> | 12 #include <string> |
| 13 | 13 |
| 14 #include "base/callback_forward.h" | 14 #include "base/callback_forward.h" |
| 15 #include "base/compiler_specific.h" | 15 #include "base/compiler_specific.h" |
| 16 #include "base/containers/hash_tables.h" | 16 #include "base/containers/hash_tables.h" |
| 17 #include "base/macros.h" | 17 #include "base/macros.h" |
| 18 #include "base/memory/ref_counted.h" | 18 #include "base/memory/ref_counted.h" |
| 19 #include "base/memory/scoped_ptr.h" | 19 #include "base/memory/scoped_ptr.h" |
| 20 #include "base/memory/weak_ptr.h" | 20 #include "base/memory/weak_ptr.h" |
| 21 #include "base/prefs/pref_change_registrar.h" | |
| 22 #include "components/policy/policy_export.h" | 21 #include "components/policy/policy_export.h" |
| 22 #include "components/prefs/pref_change_registrar.h" |
| 23 #include "components/url_matcher/url_matcher.h" | 23 #include "components/url_matcher/url_matcher.h" |
| 24 #include "url/gurl.h" | 24 #include "url/gurl.h" |
| 25 | 25 |
| 26 class PrefService; | 26 class PrefService; |
| 27 | 27 |
| 28 namespace base { | 28 namespace base { |
| 29 class ListValue; | 29 class ListValue; |
| 30 class SequencedTaskRunner; | 30 class SequencedTaskRunner; |
| 31 } | 31 } |
| 32 | 32 |
| (...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 229 | 229 |
| 230 // Used to get |weak_ptr_| to self on the IO thread. | 230 // Used to get |weak_ptr_| to self on the IO thread. |
| 231 base::WeakPtrFactory<URLBlacklistManager> io_weak_ptr_factory_; | 231 base::WeakPtrFactory<URLBlacklistManager> io_weak_ptr_factory_; |
| 232 | 232 |
| 233 DISALLOW_COPY_AND_ASSIGN(URLBlacklistManager); | 233 DISALLOW_COPY_AND_ASSIGN(URLBlacklistManager); |
| 234 }; | 234 }; |
| 235 | 235 |
| 236 } // namespace policy | 236 } // namespace policy |
| 237 | 237 |
| 238 #endif // COMPONENTS_POLICY_CORE_BROWSER_URL_BLACKLIST_MANAGER_H_ | 238 #endif // COMPONENTS_POLICY_CORE_BROWSER_URL_BLACKLIST_MANAGER_H_ |
| OLD | NEW |