OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #include "chrome/browser/policy/url_blacklist_manager.h" | 5 #include "chrome/browser/policy/url_blacklist_manager.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/stl_util.h" | 8 #include "base/stl_util.h" |
9 #include "base/string_number_conversions.h" | 9 #include "base/string_number_conversions.h" |
10 #include "base/string_util.h" | |
11 #include "base/values.h" | 10 #include "base/values.h" |
12 #include "chrome/browser/net/url_fixer_upper.h" | 11 #include "chrome/browser/net/url_fixer_upper.h" |
13 #include "chrome/browser/prefs/pref_service.h" | 12 #include "chrome/browser/prefs/pref_service.h" |
14 #include "chrome/common/chrome_notification_types.h" | 13 #include "chrome/common/chrome_notification_types.h" |
15 #include "chrome/common/pref_names.h" | 14 #include "chrome/common/pref_names.h" |
16 #include "content/browser/browser_thread.h" | 15 #include "content/browser/browser_thread.h" |
17 #include "content/common/notification_details.h" | 16 #include "content/common/notification_details.h" |
18 #include "content/common/notification_source.h" | 17 #include "content/common/notification_source.h" |
19 #include "googleurl/src/gurl.h" | 18 #include "googleurl/src/gurl.h" |
20 | 19 |
(...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
393 | 392 |
394 // static | 393 // static |
395 void URLBlacklistManager::RegisterPrefs(PrefService* pref_service) { | 394 void URLBlacklistManager::RegisterPrefs(PrefService* pref_service) { |
396 pref_service->RegisterListPref(prefs::kUrlBlacklist, | 395 pref_service->RegisterListPref(prefs::kUrlBlacklist, |
397 PrefService::UNSYNCABLE_PREF); | 396 PrefService::UNSYNCABLE_PREF); |
398 pref_service->RegisterListPref(prefs::kUrlWhitelist, | 397 pref_service->RegisterListPref(prefs::kUrlWhitelist, |
399 PrefService::UNSYNCABLE_PREF); | 398 PrefService::UNSYNCABLE_PREF); |
400 } | 399 } |
401 | 400 |
402 } // namespace policy | 401 } // namespace policy |
OLD | NEW |