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

Side by Side Diff: chrome/browser/browser_process_impl.h

Issue 1845113003: Certificate Transparency: Start tracking logs' state (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Getting rid of a redundant class Created 4 years, 8 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 | « chrome/browser/BUILD.gn ('k') | chrome/browser/browser_process_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 (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 // When each service is created, we set a flag indicating this. At this point, 5 // When each service is created, we set a flag indicating this. At this point,
6 // the service initialization could fail or succeed. This allows us to remember 6 // the service initialization could fail or succeed. This allows us to remember
7 // if we tried to create a service, and not try creating it over and over if 7 // if we tried to create a service, and not try creating it over and over if
8 // the creation failed. 8 // the creation failed.
9 9
10 #ifndef CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ 10 #ifndef CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 } 47 }
48 48
49 namespace gcm { 49 namespace gcm {
50 class GCMDriver; 50 class GCMDriver;
51 } 51 }
52 52
53 namespace net_log { 53 namespace net_log {
54 class ChromeNetLog; 54 class ChromeNetLog;
55 } 55 }
56 56
57 namespace net {
58
59 namespace ct {
60 class STHReporter;
61 } // namespace ct
62
63 } // namespace net
64
57 namespace policy { 65 namespace policy {
58 class BrowserPolicyConnector; 66 class BrowserPolicyConnector;
59 class PolicyService; 67 class PolicyService;
60 }; 68 };
61 69
62 namespace web_resource { 70 namespace web_resource {
63 class PromoResourceService; 71 class PromoResourceService;
64 } 72 }
65 73
66 // Real implementation of BrowserProcess that creates and returns the services. 74 // Real implementation of BrowserProcess that creates and returns the services.
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 bool created_local_state() const override; 157 bool created_local_state() const override;
150 #if defined(ENABLE_WEBRTC) 158 #if defined(ENABLE_WEBRTC)
151 WebRtcLogUploader* webrtc_log_uploader() override; 159 WebRtcLogUploader* webrtc_log_uploader() override;
152 #endif 160 #endif
153 network_time::NetworkTimeTracker* network_time_tracker() override; 161 network_time::NetworkTimeTracker* network_time_tracker() override;
154 gcm::GCMDriver* gcm_driver() override; 162 gcm::GCMDriver* gcm_driver() override;
155 memory::TabManager* GetTabManager() override; 163 memory::TabManager* GetTabManager() override;
156 shell_integration::DefaultWebClientState CachedDefaultWebClientState() 164 shell_integration::DefaultWebClientState CachedDefaultWebClientState()
157 override; 165 override;
158 166
167 void RegisterWithSTHObserver(net::ct::STHReporter* reporter);
159 static void RegisterPrefs(PrefRegistrySimple* registry); 168 static void RegisterPrefs(PrefRegistrySimple* registry);
160 169
161 private: 170 private:
162 // KeepAliveStateObserver implementation 171 // KeepAliveStateObserver implementation
163 void OnKeepAliveStateChanged(bool is_keeping_alive) override; 172 void OnKeepAliveStateChanged(bool is_keeping_alive) override;
164 void OnKeepAliveRestartStateChanged(bool can_restart) override; 173 void OnKeepAliveRestartStateChanged(bool can_restart) override;
165 174
166 void CreateWatchdogThread(); 175 void CreateWatchdogThread();
167 void CreateProfileManager(); 176 void CreateProfileManager();
168 void CreateLocalState(); 177 void CreateLocalState();
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
334 // chrome/browser/memory/tab_manager_browsertest.cc 343 // chrome/browser/memory/tab_manager_browsertest.cc
335 scoped_ptr<memory::TabManager> tab_manager_; 344 scoped_ptr<memory::TabManager> tab_manager_;
336 #endif 345 #endif
337 346
338 shell_integration::DefaultWebClientState cached_default_web_client_state_; 347 shell_integration::DefaultWebClientState cached_default_web_client_state_;
339 348
340 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); 349 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl);
341 }; 350 };
342 351
343 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ 352 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | chrome/browser/browser_process_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698