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_POLICY_URL_BLACKLIST_MANAGER_H_ | 5 #ifndef CHROME_BROWSER_POLICY_URL_BLACKLIST_MANAGER_H_ |
6 #define CHROME_BROWSER_POLICY_URL_BLACKLIST_MANAGER_H_ | 6 #define CHROME_BROWSER_POLICY_URL_BLACKLIST_MANAGER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "base/callback_forward.h" | 12 #include "base/callback_forward.h" |
13 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.h" |
14 #include "base/hash_tables.h" | 14 #include "base/hash_tables.h" |
15 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
16 #include "base/memory/weak_ptr.h" | 16 #include "base/memory/weak_ptr.h" |
17 #include "chrome/browser/api/prefs/pref_change_registrar.h" | 17 #include "base/prefs/public/pref_change_registrar.h" |
18 #include "chrome/common/extensions/matcher/url_matcher.h" | 18 #include "chrome/common/extensions/matcher/url_matcher.h" |
19 #include "content/public/browser/notification_observer.h" | 19 #include "content/public/browser/notification_observer.h" |
20 | 20 |
21 class GURL; | 21 class GURL; |
22 class PrefService; | 22 class PrefService; |
23 | 23 |
24 namespace base { | 24 namespace base { |
25 class ListValue; | 25 class ListValue; |
26 } | 26 } |
27 | 27 |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
172 | 172 |
173 // The current blacklist. | 173 // The current blacklist. |
174 scoped_ptr<URLBlacklist> blacklist_; | 174 scoped_ptr<URLBlacklist> blacklist_; |
175 | 175 |
176 DISALLOW_COPY_AND_ASSIGN(URLBlacklistManager); | 176 DISALLOW_COPY_AND_ASSIGN(URLBlacklistManager); |
177 }; | 177 }; |
178 | 178 |
179 } // namespace policy | 179 } // namespace policy |
180 | 180 |
181 #endif // CHROME_BROWSER_POLICY_URL_BLACKLIST_MANAGER_H_ | 181 #endif // CHROME_BROWSER_POLICY_URL_BLACKLIST_MANAGER_H_ |
OLD | NEW |