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

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

Issue 10918279: Provide mutable members of UrlRequestContext via pure-virtual interface (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: lint fixes Created 8 years, 3 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/about_protocol_handler.h" 15 #include "chrome/browser/net/about_protocol_handler.h"
16 #include "chrome/browser/net/basic_http_user_agent_settings.h"
erikwright (departed) 2012/09/25 21:06:38 no longer required?
16 #include "chrome/browser/net/chrome_net_log.h" 17 #include "chrome/browser/net/chrome_net_log.h"
17 #include "chrome/browser/net/clear_on_exit_policy.h" 18 #include "chrome/browser/net/clear_on_exit_policy.h"
18 #include "chrome/browser/net/connect_interceptor.h" 19 #include "chrome/browser/net/connect_interceptor.h"
19 #include "chrome/browser/net/http_server_properties_manager.h" 20 #include "chrome/browser/net/http_server_properties_manager.h"
20 #include "chrome/browser/net/predictor.h" 21 #include "chrome/browser/net/predictor.h"
21 #include "chrome/browser/net/sqlite_persistent_cookie_store.h" 22 #include "chrome/browser/net/sqlite_persistent_cookie_store.h"
22 #include "chrome/browser/net/sqlite_server_bound_cert_store.h" 23 #include "chrome/browser/net/sqlite_server_bound_cert_store.h"
23 #include "chrome/browser/prefs/pref_service.h" 24 #include "chrome/browser/prefs/pref_service.h"
24 #include "chrome/browser/profiles/profile.h" 25 #include "chrome/browser/profiles/profile.h"
25 #include "chrome/browser/ui/webui/chrome_url_data_manager_backend.h" 26 #include "chrome/browser/ui/webui/chrome_url_data_manager_backend.h"
(...skipping 639 matching lines...) Expand 10 before | Expand all | Expand 10 after
665 void ProfileImplIOData::ClearNetworkingHistorySinceOnIOThread( 666 void ProfileImplIOData::ClearNetworkingHistorySinceOnIOThread(
666 base::Time time) { 667 base::Time time) {
667 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); 668 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
668 LazyInitialize(); 669 LazyInitialize();
669 670
670 DCHECK(transport_security_state()); 671 DCHECK(transport_security_state());
671 transport_security_state()->DeleteSince(time); 672 transport_security_state()->DeleteSince(time);
672 DCHECK(http_server_properties_manager()); 673 DCHECK(http_server_properties_manager());
673 http_server_properties_manager()->Clear(); 674 http_server_properties_manager()->Clear();
674 } 675 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698