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

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

Issue 834073002: ChromeOS: Implement periodic timezone refresh on geolocation data. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix rebase. Created 5 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
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | chrome/browser/browser_process_platform_part_chromeos.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) 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 "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/threading/non_thread_safe.h" 10 #include "base/threading/non_thread_safe.h"
11 #include "chrome/browser/browser_process_platform_part_base.h" 11 #include "chrome/browser/browser_process_platform_part_base.h"
12 12
13 namespace base { 13 namespace base {
14 class CommandLine; 14 class CommandLine;
15 } 15 }
16 16
17 namespace chromeos { 17 namespace chromeos {
18 class ChromeUserManager; 18 class ChromeUserManager;
19 class OomPriorityManager; 19 class OomPriorityManager;
20 class ProfileHelper; 20 class ProfileHelper;
21 class TimeZoneResolver;
21 } 22 }
22 23
23 namespace chromeos { 24 namespace chromeos {
24 namespace system { 25 namespace system {
25 class AutomaticRebootManager; 26 class AutomaticRebootManager;
26 class DeviceDisablingManager; 27 class DeviceDisablingManager;
27 class DeviceDisablingManagerDefaultDelegate; 28 class DeviceDisablingManagerDefaultDelegate;
28 } 29 }
29 } 30 }
30 31
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 policy::BrowserPolicyConnectorChromeOS* browser_policy_connector_chromeos(); 80 policy::BrowserPolicyConnectorChromeOS* browser_policy_connector_chromeos();
80 81
81 chromeos::ChromeUserManager* user_manager() { 82 chromeos::ChromeUserManager* user_manager() {
82 return chrome_user_manager_.get(); 83 return chrome_user_manager_.get();
83 } 84 }
84 85
85 chromeos::system::DeviceDisablingManager* device_disabling_manager() { 86 chromeos::system::DeviceDisablingManager* device_disabling_manager() {
86 return device_disabling_manager_.get(); 87 return device_disabling_manager_.get();
87 } 88 }
88 89
90 chromeos::TimeZoneResolver* GetTimezoneResolver();
91
89 // Overridden from BrowserProcessPlatformPartBase: 92 // Overridden from BrowserProcessPlatformPartBase:
90 void StartTearDown() override; 93 void StartTearDown() override;
91 94
92 scoped_ptr<policy::BrowserPolicyConnector> CreateBrowserPolicyConnector() 95 scoped_ptr<policy::BrowserPolicyConnector> CreateBrowserPolicyConnector()
93 override; 96 override;
94 97
95 private: 98 private:
96 void CreateProfileHelper(); 99 void CreateProfileHelper();
97 100
98 scoped_ptr<session_manager::SessionManager> session_manager_; 101 scoped_ptr<session_manager::SessionManager> session_manager_;
99 102
100 bool created_profile_helper_; 103 bool created_profile_helper_;
101 scoped_ptr<chromeos::ProfileHelper> profile_helper_; 104 scoped_ptr<chromeos::ProfileHelper> profile_helper_;
102 105
103 scoped_ptr<chromeos::OomPriorityManager> oom_priority_manager_; 106 scoped_ptr<chromeos::OomPriorityManager> oom_priority_manager_;
104 107
105 scoped_ptr<chromeos::system::AutomaticRebootManager> 108 scoped_ptr<chromeos::system::AutomaticRebootManager>
106 automatic_reboot_manager_; 109 automatic_reboot_manager_;
107 110
108 scoped_ptr<chromeos::ChromeUserManager> chrome_user_manager_; 111 scoped_ptr<chromeos::ChromeUserManager> chrome_user_manager_;
109 112
110 scoped_ptr<chromeos::system::DeviceDisablingManagerDefaultDelegate> 113 scoped_ptr<chromeos::system::DeviceDisablingManagerDefaultDelegate>
111 device_disabling_manager_delegate_; 114 device_disabling_manager_delegate_;
112 scoped_ptr<chromeos::system::DeviceDisablingManager> 115 scoped_ptr<chromeos::system::DeviceDisablingManager>
113 device_disabling_manager_; 116 device_disabling_manager_;
114 117
118 scoped_ptr<chromeos::TimeZoneResolver> timezone_resolver_;
119
115 DISALLOW_COPY_AND_ASSIGN(BrowserProcessPlatformPart); 120 DISALLOW_COPY_AND_ASSIGN(BrowserProcessPlatformPart);
116 }; 121 };
117 122
118 #endif // CHROME_BROWSER_BROWSER_PROCESS_PLATFORM_PART_CHROMEOS_H_ 123 #endif // CHROME_BROWSER_BROWSER_PROCESS_PLATFORM_PART_CHROMEOS_H_
OLDNEW
« no previous file with comments | « chrome/browser/about_flags.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