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

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

Issue 2528893003: [PhysicalWeb] Add physical_web namespace. (Closed)
Patch Set: Created 4 years 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 // 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 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 MediaFileSystemRegistry* media_file_system_registry() override; 149 MediaFileSystemRegistry* media_file_system_registry() override;
150 bool created_local_state() const override; 150 bool created_local_state() const override;
151 #if BUILDFLAG(ENABLE_WEBRTC) 151 #if BUILDFLAG(ENABLE_WEBRTC)
152 WebRtcLogUploader* webrtc_log_uploader() override; 152 WebRtcLogUploader* webrtc_log_uploader() override;
153 #endif 153 #endif
154 network_time::NetworkTimeTracker* network_time_tracker() override; 154 network_time::NetworkTimeTracker* network_time_tracker() override;
155 gcm::GCMDriver* gcm_driver() override; 155 gcm::GCMDriver* gcm_driver() override;
156 memory::TabManager* GetTabManager() override; 156 memory::TabManager* GetTabManager() override;
157 shell_integration::DefaultWebClientState CachedDefaultWebClientState() 157 shell_integration::DefaultWebClientState CachedDefaultWebClientState()
158 override; 158 override;
159 PhysicalWebDataSource* GetPhysicalWebDataSource() override; 159 physical_web::PhysicalWebDataSource* GetPhysicalWebDataSource() override;
160 160
161 static void RegisterPrefs(PrefRegistrySimple* registry); 161 static void RegisterPrefs(PrefRegistrySimple* registry);
162 162
163 private: 163 private:
164 // KeepAliveStateObserver implementation 164 // KeepAliveStateObserver implementation
165 void OnKeepAliveStateChanged(bool is_keeping_alive) override; 165 void OnKeepAliveStateChanged(bool is_keeping_alive) override;
166 void OnKeepAliveRestartStateChanged(bool can_restart) override; 166 void OnKeepAliveRestartStateChanged(bool can_restart) override;
167 167
168 void CreateWatchdogThread(); 168 void CreateWatchdogThread();
169 void CreateProfileManager(); 169 void CreateProfileManager();
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
342 std::unique_ptr<ChromeDeviceClient> device_client_; 342 std::unique_ptr<ChromeDeviceClient> device_client_;
343 343
344 #if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX) 344 #if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX)
345 // Any change to this #ifdef must be reflected as well in 345 // Any change to this #ifdef must be reflected as well in
346 // chrome/browser/memory/tab_manager_browsertest.cc 346 // chrome/browser/memory/tab_manager_browsertest.cc
347 std::unique_ptr<memory::TabManager> tab_manager_; 347 std::unique_ptr<memory::TabManager> tab_manager_;
348 #endif 348 #endif
349 349
350 shell_integration::DefaultWebClientState cached_default_web_client_state_; 350 shell_integration::DefaultWebClientState cached_default_web_client_state_;
351 351
352 std::unique_ptr<PhysicalWebDataSource> physical_web_data_source_; 352 std::unique_ptr<physical_web::PhysicalWebDataSource>
353 physical_web_data_source_;
353 354
354 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); 355 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl);
355 }; 356 };
356 357
357 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ 358 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698