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

Side by Side Diff: chrome/browser/policy/url_blacklist_manager.cc

Issue 8477004: Have content/ create and destroy its own threads. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More IWYU, missing link-time dependency for Chrome Frame. Created 9 years, 1 month 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 (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/message_loop.h"
8 #include "base/stl_util.h" 9 #include "base/stl_util.h"
9 #include "base/string_number_conversions.h" 10 #include "base/string_number_conversions.h"
10 #include "base/values.h" 11 #include "base/values.h"
11 #include "chrome/browser/net/url_fixer_upper.h" 12 #include "chrome/browser/net/url_fixer_upper.h"
12 #include "chrome/browser/prefs/pref_service.h" 13 #include "chrome/browser/prefs/pref_service.h"
13 #include "chrome/common/chrome_notification_types.h" 14 #include "chrome/common/chrome_notification_types.h"
14 #include "chrome/common/pref_names.h" 15 #include "chrome/common/pref_names.h"
15 #include "content/public/browser/browser_thread.h" 16 #include "content/public/browser/browser_thread.h"
16 #include "content/public/browser/notification_details.h" 17 #include "content/public/browser/notification_details.h"
17 #include "content/public/browser/notification_source.h" 18 #include "content/public/browser/notification_source.h"
(...skipping 388 matching lines...) Expand 10 before | Expand all | Expand 10 after
406 407
407 // static 408 // static
408 void URLBlacklistManager::RegisterPrefs(PrefService* pref_service) { 409 void URLBlacklistManager::RegisterPrefs(PrefService* pref_service) {
409 pref_service->RegisterListPref(prefs::kUrlBlacklist, 410 pref_service->RegisterListPref(prefs::kUrlBlacklist,
410 PrefService::UNSYNCABLE_PREF); 411 PrefService::UNSYNCABLE_PREF);
411 pref_service->RegisterListPref(prefs::kUrlWhitelist, 412 pref_service->RegisterListPref(prefs::kUrlWhitelist,
412 PrefService::UNSYNCABLE_PREF); 413 PrefService::UNSYNCABLE_PREF);
413 } 414 }
414 415
415 } // namespace policy 416 } // namespace policy
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698