| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "components/policy/core/common/url_blacklist_manager.h" | 5 #include "components/policy/core/browser/url_blacklist_manager.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/files/file_path.h" | 8 #include "base/files/file_path.h" |
| 9 #include "base/location.h" | 9 #include "base/location.h" |
| 10 #include "base/message_loop/message_loop_proxy.h" | 10 #include "base/message_loop/message_loop_proxy.h" |
| 11 #include "base/prefs/pref_service.h" | 11 #include "base/prefs/pref_service.h" |
| 12 #include "base/sequenced_task_runner.h" | 12 #include "base/sequenced_task_runner.h" |
| 13 #include "base/stl_util.h" | 13 #include "base/stl_util.h" |
| 14 #include "base/strings/string_number_conversions.h" | 14 #include "base/strings/string_number_conversions.h" |
| 15 #include "base/task_runner_util.h" | 15 #include "base/task_runner_util.h" |
| (...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 374 // static | 374 // static |
| 375 void URLBlacklistManager::RegisterProfilePrefs( | 375 void URLBlacklistManager::RegisterProfilePrefs( |
| 376 user_prefs::PrefRegistrySyncable* registry) { | 376 user_prefs::PrefRegistrySyncable* registry) { |
| 377 registry->RegisterListPref(policy_prefs::kUrlBlacklist, | 377 registry->RegisterListPref(policy_prefs::kUrlBlacklist, |
| 378 user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF); | 378 user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF); |
| 379 registry->RegisterListPref(policy_prefs::kUrlWhitelist, | 379 registry->RegisterListPref(policy_prefs::kUrlWhitelist, |
| 380 user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF); | 380 user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF); |
| 381 } | 381 } |
| 382 | 382 |
| 383 } // namespace policy | 383 } // namespace policy |
| OLD | NEW |