Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(280)

Side by Side Diff: components/policy/core/browser/url_blacklist_manager.cc

Issue 124393003: Break dependency of chrome.gyp:common on content.gyp:content_browser. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix header macro Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
OLDNEW
« no previous file with comments | « components/policy/core/browser/url_blacklist_manager.h ('k') | components/policy/core/common/url_blacklist_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698