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

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

Issue 1658793002: Update chrome for new prefs location. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
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 <set> 7 #include <set>
8 #include <string> 8 #include <string>
9 #include <utility> 9 #include <utility>
10 10
11 #include "base/bind.h" 11 #include "base/bind.h"
12 #include "base/command_line.h" 12 #include "base/command_line.h"
13 #include "base/logging.h" 13 #include "base/logging.h"
14 #include "base/macros.h" 14 #include "base/macros.h"
15 #include "base/memory/scoped_ptr.h" 15 #include "base/memory/scoped_ptr.h"
16 #include "base/metrics/field_trial.h" 16 #include "base/metrics/field_trial.h"
17 #include "base/prefs/json_pref_store.h"
18 #include "base/prefs/pref_filter.h"
19 #include "base/prefs/pref_member.h"
20 #include "base/prefs/pref_service.h"
21 #include "base/profiler/scoped_tracker.h" 17 #include "base/profiler/scoped_tracker.h"
22 #include "base/sequenced_task_runner.h" 18 #include "base/sequenced_task_runner.h"
23 #include "base/stl_util.h" 19 #include "base/stl_util.h"
24 #include "base/strings/string_util.h" 20 #include "base/strings/string_util.h"
25 #include "base/threading/sequenced_worker_pool.h" 21 #include "base/threading/sequenced_worker_pool.h"
26 #include "base/threading/worker_pool.h" 22 #include "base/threading/worker_pool.h"
27 #include "build/build_config.h" 23 #include "build/build_config.h"
28 #include "chrome/browser/browser_process.h" 24 #include "chrome/browser/browser_process.h"
29 #include "chrome/browser/chrome_notification_types.h" 25 #include "chrome/browser/chrome_notification_types.h"
30 #include "chrome/browser/chromeos/profiles/profile_helper.h" 26 #include "chrome/browser/chromeos/profiles/profile_helper.h"
(...skipping 13 matching lines...) Expand all
44 #include "chrome/common/chrome_constants.h" 40 #include "chrome/common/chrome_constants.h"
45 #include "chrome/common/chrome_switches.h" 41 #include "chrome/common/chrome_switches.h"
46 #include "chrome/common/pref_names.h" 42 #include "chrome/common/pref_names.h"
47 #include "chrome/common/url_constants.h" 43 #include "chrome/common/url_constants.h"
48 #include "components/cookie_config/cookie_store_util.h" 44 #include "components/cookie_config/cookie_store_util.h"
49 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_io_d ata.h" 45 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_io_d ata.h"
50 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_sett ings.h" 46 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_sett ings.h"
51 #include "components/data_reduction_proxy/core/browser/data_store_impl.h" 47 #include "components/data_reduction_proxy/core/browser/data_store_impl.h"
52 #include "components/domain_reliability/monitor.h" 48 #include "components/domain_reliability/monitor.h"
53 #include "components/net_log/chrome_net_log.h" 49 #include "components/net_log/chrome_net_log.h"
50 #include "components/prefs/json_pref_store.h"
51 #include "components/prefs/pref_filter.h"
52 #include "components/prefs/pref_member.h"
53 #include "components/prefs/pref_service.h"
54 #include "content/public/browser/browser_thread.h" 54 #include "content/public/browser/browser_thread.h"
55 #include "content/public/browser/cookie_store_factory.h" 55 #include "content/public/browser/cookie_store_factory.h"
56 #include "content/public/browser/notification_service.h" 56 #include "content/public/browser/notification_service.h"
57 #include "content/public/browser/resource_context.h" 57 #include "content/public/browser/resource_context.h"
58 #include "content/public/browser/storage_partition.h" 58 #include "content/public/browser/storage_partition.h"
59 #include "extensions/browser/extension_protocols.h" 59 #include "extensions/browser/extension_protocols.h"
60 #include "extensions/common/constants.h" 60 #include "extensions/common/constants.h"
61 #include "net/base/cache_type.h" 61 #include "net/base/cache_type.h"
62 #include "net/base/sdch_manager.h" 62 #include "net/base/sdch_manager.h"
63 #include "net/ftp/ftp_network_layer.h" 63 #include "net/ftp/ftp_network_layer.h"
(...skipping 708 matching lines...) Expand 10 before | Expand all | Expand 10 after
772 const base::Closure& completion) { 772 const base::Closure& completion) {
773 DCHECK_CURRENTLY_ON(BrowserThread::IO); 773 DCHECK_CURRENTLY_ON(BrowserThread::IO);
774 DCHECK(initialized()); 774 DCHECK(initialized());
775 775
776 DCHECK(transport_security_state()); 776 DCHECK(transport_security_state());
777 // Completes synchronously. 777 // Completes synchronously.
778 transport_security_state()->DeleteAllDynamicDataSince(time); 778 transport_security_state()->DeleteAllDynamicDataSince(time);
779 DCHECK(http_server_properties_manager_); 779 DCHECK(http_server_properties_manager_);
780 http_server_properties_manager_->Clear(completion); 780 http_server_properties_manager_->Clear(completion);
781 } 781 }
OLDNEW
« no previous file with comments | « chrome/browser/profiles/profile_impl_io_data.h ('k') | chrome/browser/profiles/profile_info_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698