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

Side by Side Diff: ios/chrome/browser/application_context_impl.h

Issue 1547403002: Move ownership of ChromeBrowserStateManager to ApplicationContext. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
« no previous file with comments | « no previous file | ios/chrome/browser/application_context_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #ifndef IOS_CHROME_BROWSER_APPLICATION_CONTEXT_IMPL_H_ 5 #ifndef IOS_CHROME_BROWSER_APPLICATION_CONTEXT_IMPL_H_
6 #define IOS_CHROME_BROWSER_APPLICATION_CONTEXT_IMPL_H_ 6 #define IOS_CHROME_BROWSER_APPLICATION_CONTEXT_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 scoped_ptr<net_log::ChromeNetLog> net_log_; 82 scoped_ptr<net_log::ChromeNetLog> net_log_;
83 scoped_ptr<network_time::NetworkTimeTracker> network_time_tracker_; 83 scoped_ptr<network_time::NetworkTimeTracker> network_time_tracker_;
84 scoped_ptr<IOSChromeIOThread> ios_chrome_io_thread_; 84 scoped_ptr<IOSChromeIOThread> ios_chrome_io_thread_;
85 scoped_ptr<metrics_services_manager::MetricsServicesManager> 85 scoped_ptr<metrics_services_manager::MetricsServicesManager>
86 metrics_services_manager_; 86 metrics_services_manager_;
87 scoped_ptr<gcm::GCMDriver> gcm_driver_; 87 scoped_ptr<gcm::GCMDriver> gcm_driver_;
88 scoped_ptr<web_resource::PromoResourceService> promo_resource_service_; 88 scoped_ptr<web_resource::PromoResourceService> promo_resource_service_;
89 scoped_ptr<component_updater::ComponentUpdateService> component_updater_; 89 scoped_ptr<component_updater::ComponentUpdateService> component_updater_;
90 scoped_refptr<CRLSetFetcher> crl_set_fetcher_; 90 scoped_refptr<CRLSetFetcher> crl_set_fetcher_;
91 scoped_refptr<safe_browsing::SafeBrowsingService> safe_browsing_service_; 91 scoped_refptr<safe_browsing::SafeBrowsingService> safe_browsing_service_;
92 scoped_ptr<ios::ChromeBrowserStateManager> chrome_browser_state_manager_;
92 std::string application_locale_; 93 std::string application_locale_;
93 94
94 // Sequenced task runner for local state related I/O tasks. 95 // Sequenced task runner for local state related I/O tasks.
95 const scoped_refptr<base::SequencedTaskRunner> local_state_task_runner_; 96 const scoped_refptr<base::SequencedTaskRunner> local_state_task_runner_;
96 97
97 bool was_last_shutdown_clean_; 98 bool was_last_shutdown_clean_;
98 bool created_local_state_; 99 bool created_local_state_;
99 100
100 DISALLOW_COPY_AND_ASSIGN(ApplicationContextImpl); 101 DISALLOW_COPY_AND_ASSIGN(ApplicationContextImpl);
101 }; 102 };
102 103
103 #endif // IOS_CHROME_BROWSER_APPLICATION_CONTEXT_IMPL_H_ 104 #endif // IOS_CHROME_BROWSER_APPLICATION_CONTEXT_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | ios/chrome/browser/application_context_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698