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

Side by Side Diff: chrome/browser/profiles/profile_impl_io_data.cc

Issue 12211105: Move remaining non-test, non-Chrome-specific Prefs code to base/prefs/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address review comments, merge to LKGR. Created 7 years, 10 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 (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 #include "chrome/browser/profiles/profile_impl_io_data.h" 5 #include "chrome/browser/profiles/profile_impl_io_data.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/file_util.h" 9 #include "base/file_util.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/prefs/pref_service.h"
11 #include "base/prefs/public/pref_member.h" 12 #include "base/prefs/public/pref_member.h"
12 #include "base/stl_util.h" 13 #include "base/stl_util.h"
13 #include "base/threading/worker_pool.h" 14 #include "base/threading/worker_pool.h"
14 #include "chrome/browser/custom_handlers/protocol_handler_registry.h" 15 #include "chrome/browser/custom_handlers/protocol_handler_registry.h"
15 #include "chrome/browser/custom_handlers/protocol_handler_registry_factory.h" 16 #include "chrome/browser/custom_handlers/protocol_handler_registry_factory.h"
16 #include "chrome/browser/io_thread.h" 17 #include "chrome/browser/io_thread.h"
17 #include "chrome/browser/net/chrome_net_log.h" 18 #include "chrome/browser/net/chrome_net_log.h"
18 #include "chrome/browser/net/chrome_network_delegate.h" 19 #include "chrome/browser/net/chrome_network_delegate.h"
19 #include "chrome/browser/net/clear_on_exit_policy.h" 20 #include "chrome/browser/net/clear_on_exit_policy.h"
20 #include "chrome/browser/net/connect_interceptor.h" 21 #include "chrome/browser/net/connect_interceptor.h"
21 #include "chrome/browser/net/http_server_properties_manager.h" 22 #include "chrome/browser/net/http_server_properties_manager.h"
22 #include "chrome/browser/net/predictor.h" 23 #include "chrome/browser/net/predictor.h"
23 #include "chrome/browser/net/sqlite_persistent_cookie_store.h" 24 #include "chrome/browser/net/sqlite_persistent_cookie_store.h"
24 #include "chrome/browser/net/sqlite_server_bound_cert_store.h" 25 #include "chrome/browser/net/sqlite_server_bound_cert_store.h"
25 #include "chrome/browser/prefs/pref_service.h"
26 #include "chrome/browser/profiles/profile.h" 26 #include "chrome/browser/profiles/profile.h"
27 #include "chrome/common/chrome_constants.h" 27 #include "chrome/common/chrome_constants.h"
28 #include "chrome/common/chrome_notification_types.h" 28 #include "chrome/common/chrome_notification_types.h"
29 #include "chrome/common/chrome_switches.h" 29 #include "chrome/common/chrome_switches.h"
30 #include "chrome/common/pref_names.h" 30 #include "chrome/common/pref_names.h"
31 #include "chrome/common/url_constants.h" 31 #include "chrome/common/url_constants.h"
32 #include "content/public/browser/browser_thread.h" 32 #include "content/public/browser/browser_thread.h"
33 #include "content/public/browser/notification_service.h" 33 #include "content/public/browser/notification_service.h"
34 #include "content/public/browser/resource_context.h" 34 #include "content/public/browser/resource_context.h"
35 #include "content/public/browser/storage_partition.h" 35 #include "content/public/browser/storage_partition.h"
(...skipping 707 matching lines...) Expand 10 before | Expand all | Expand 10 after
743 base::Time time, 743 base::Time time,
744 const base::Closure& completion) { 744 const base::Closure& completion) {
745 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); 745 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
746 DCHECK(initialized()); 746 DCHECK(initialized());
747 747
748 DCHECK(transport_security_state()); 748 DCHECK(transport_security_state());
749 transport_security_state()->DeleteSince(time); // Completes synchronously. 749 transport_security_state()->DeleteSince(time); // Completes synchronously.
750 DCHECK(http_server_properties_manager_); 750 DCHECK(http_server_properties_manager_);
751 http_server_properties_manager_->Clear(completion); 751 http_server_properties_manager_->Clear(completion);
752 } 752 }
OLDNEW
« no previous file with comments | « chrome/browser/profiles/profile_browsertest.cc ('k') | chrome/browser/profiles/profile_info_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698