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

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

Issue 10828345: Extract PrefServiceBase into chrome/browser/api. Use in api and autofill. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to head Created 8 years, 4 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/stl_util.h" 11 #include "base/stl_util.h"
12 #include "base/threading/worker_pool.h" 12 #include "base/threading/worker_pool.h"
13 #include "chrome/browser/api/prefs/pref_member.h" 13 #include "chrome/browser/api/prefs/pref_member.h"
14 #include "chrome/browser/io_thread.h" 14 #include "chrome/browser/io_thread.h"
15 #include "chrome/browser/net/chrome_net_log.h" 15 #include "chrome/browser/net/chrome_net_log.h"
16 #include "chrome/browser/net/chrome_network_delegate.h" 16 #include "chrome/browser/net/chrome_network_delegate.h"
17 #include "chrome/browser/net/clear_on_exit_policy.h" 17 #include "chrome/browser/net/clear_on_exit_policy.h"
18 #include "chrome/browser/net/connect_interceptor.h" 18 #include "chrome/browser/net/connect_interceptor.h"
19 #include "chrome/browser/net/http_server_properties_manager.h" 19 #include "chrome/browser/net/http_server_properties_manager.h"
20 #include "chrome/browser/net/predictor.h" 20 #include "chrome/browser/net/predictor.h"
21 #include "chrome/browser/net/sqlite_persistent_cookie_store.h" 21 #include "chrome/browser/net/sqlite_persistent_cookie_store.h"
22 #include "chrome/browser/net/sqlite_server_bound_cert_store.h" 22 #include "chrome/browser/net/sqlite_server_bound_cert_store.h"
23 #include "chrome/browser/prefs/pref_service.h"
23 #include "chrome/browser/profiles/profile.h" 24 #include "chrome/browser/profiles/profile.h"
24 #include "chrome/browser/ui/webui/chrome_url_data_manager_backend.h" 25 #include "chrome/browser/ui/webui/chrome_url_data_manager_backend.h"
25 #include "chrome/common/chrome_constants.h" 26 #include "chrome/common/chrome_constants.h"
26 #include "chrome/common/chrome_notification_types.h" 27 #include "chrome/common/chrome_notification_types.h"
27 #include "chrome/common/chrome_switches.h" 28 #include "chrome/common/chrome_switches.h"
28 #include "chrome/common/pref_names.h" 29 #include "chrome/common/pref_names.h"
29 #include "chrome/common/url_constants.h" 30 #include "chrome/common/url_constants.h"
30 #include "content/public/browser/browser_thread.h" 31 #include "content/public/browser/browser_thread.h"
31 #include "content/public/browser/notification_service.h" 32 #include "content/public/browser/notification_service.h"
32 #include "content/public/browser/resource_context.h" 33 #include "content/public/browser/resource_context.h"
(...skipping 580 matching lines...) Expand 10 before | Expand all | Expand 10 after
613 void ProfileImplIOData::ClearNetworkingHistorySinceOnIOThread( 614 void ProfileImplIOData::ClearNetworkingHistorySinceOnIOThread(
614 base::Time time) { 615 base::Time time) {
615 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); 616 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
616 LazyInitialize(); 617 LazyInitialize();
617 618
618 DCHECK(transport_security_state()); 619 DCHECK(transport_security_state());
619 transport_security_state()->DeleteSince(time); 620 transport_security_state()->DeleteSince(time);
620 DCHECK(http_server_properties_manager()); 621 DCHECK(http_server_properties_manager());
621 http_server_properties_manager()->Clear(); 622 http_server_properties_manager()->Clear();
622 } 623 }
OLDNEW
« no previous file with comments | « chrome/browser/profiles/off_the_record_profile_io_data.cc ('k') | chrome/browser/renderer_host/plugin_info_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698