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

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

Issue 2977043002: Refactor: Moving CrOS-specific service registration code (Closed)
Patch Set: Removing unneeded dependency. Created 3 years, 5 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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 CHROME_BROWSER_BROWSER_PROCESS_PLATFORM_PART_CHROMEOS_H_ 5 #ifndef CHROME_BROWSER_BROWSER_PROCESS_PLATFORM_PART_CHROMEOS_H_
6 #define CHROME_BROWSER_BROWSER_PROCESS_PLATFORM_PART_CHROMEOS_H_ 6 #define CHROME_BROWSER_BROWSER_PROCESS_PLATFORM_PART_CHROMEOS_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 chromeos::system::DeviceDisablingManager* device_disabling_manager() { 89 chromeos::system::DeviceDisablingManager* device_disabling_manager() {
90 return device_disabling_manager_.get(); 90 return device_disabling_manager_.get();
91 } 91 }
92 92
93 chromeos::system::TimeZoneResolverManager* GetTimezoneResolverManager(); 93 chromeos::system::TimeZoneResolverManager* GetTimezoneResolverManager();
94 94
95 chromeos::TimeZoneResolver* GetTimezoneResolver(); 95 chromeos::TimeZoneResolver* GetTimezoneResolver();
96 96
97 // Overridden from BrowserProcessPlatformPartBase: 97 // Overridden from BrowserProcessPlatformPartBase:
98 void StartTearDown() override; 98 void StartTearDown() override;
99
100 std::unique_ptr<policy::BrowserPolicyConnector> CreateBrowserPolicyConnector() 99 std::unique_ptr<policy::BrowserPolicyConnector> CreateBrowserPolicyConnector()
101 override; 100 override;
101 void RegisterInProcessServices(
102 content::ContentBrowserClient::StaticServiceMap* services) override;
102 103
103 chromeos::system::SystemClock* GetSystemClock(); 104 chromeos::system::SystemClock* GetSystemClock();
104 void DestroySystemClock(); 105 void DestroySystemClock();
105 106
106 void AddCompatibleCrOSComponent(const std::string& name); 107 void AddCompatibleCrOSComponent(const std::string& name);
107 108
108 bool IsCompatibleCrOSComponent(const std::string& name); 109 bool IsCompatibleCrOSComponent(const std::string& name);
109 110
110 #if defined(USE_OZONE) 111 #if defined(USE_OZONE)
111 ui::InputDeviceControllerClient* GetInputDeviceControllerClient(); 112 ui::InputDeviceControllerClient* GetInputDeviceControllerClient();
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 std::unique_ptr<ui::InputDeviceControllerClient> 144 std::unique_ptr<ui::InputDeviceControllerClient>
144 input_device_controller_client_; 145 input_device_controller_client_;
145 #endif 146 #endif
146 147
147 SEQUENCE_CHECKER(sequence_checker_); 148 SEQUENCE_CHECKER(sequence_checker_);
148 149
149 DISALLOW_COPY_AND_ASSIGN(BrowserProcessPlatformPart); 150 DISALLOW_COPY_AND_ASSIGN(BrowserProcessPlatformPart);
150 }; 151 };
151 152
152 #endif // CHROME_BROWSER_BROWSER_PROCESS_PLATFORM_PART_CHROMEOS_H_ 153 #endif // CHROME_BROWSER_BROWSER_PROCESS_PLATFORM_PART_CHROMEOS_H_
OLDNEW
« no previous file with comments | « chrome/browser/browser_process_platform_part_base.cc ('k') | chrome/browser/browser_process_platform_part_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698