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

Side by Side Diff: chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.h

Issue 2343163002: ABANDONED: chromeos: Remove spammy "Failed to get machine id" warning. (Closed)
Patch Set: Created 4 years, 3 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 | chrome/browser/chromeos/policy/device_cloud_policy_manager_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) 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 #ifndef CHROME_BROWSER_CHROMEOS_POLICY_DEVICE_CLOUD_POLICY_MANAGER_CHROMEOS_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_POLICY_DEVICE_CLOUD_POLICY_MANAGER_CHROMEOS_H_
6 #define CHROME_BROWSER_CHROMEOS_POLICY_DEVICE_CLOUD_POLICY_MANAGER_CHROMEOS_H_ 6 #define CHROME_BROWSER_CHROMEOS_POLICY_DEVICE_CLOUD_POLICY_MANAGER_CHROMEOS_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 78
79 // If set, the device will start the enterprise enrollment OOBE. 79 // If set, the device will start the enterprise enrollment OOBE.
80 void SetDeviceEnrollmentAutoStart(); 80 void SetDeviceEnrollmentAutoStart();
81 81
82 // CloudPolicyManager: 82 // CloudPolicyManager:
83 void Shutdown() override; 83 void Shutdown() override;
84 84
85 // Pref registration helper. 85 // Pref registration helper.
86 static void RegisterPrefs(PrefRegistrySimple* registry); 86 static void RegisterPrefs(PrefRegistrySimple* registry);
87 87
88 // Returns the device serial number, or an empty string if not available. 88 // Returns the device serial number, or an empty string if unavailable
89 // (possibly due to the device having already been enrolled or claimed by a
90 // local user).
89 static std::string GetMachineID(); 91 static std::string GetMachineID();
90 92
91 // Returns the machine model, or an empty string if not available. 93 // Returns the machine model, or an empty string if not available.
92 static std::string GetMachineModel(); 94 static std::string GetMachineModel();
93 95
94 // Returns the mode for using zero-touch enrollment. 96 // Returns the mode for using zero-touch enrollment.
95 static ZeroTouchEnrollmentMode GetZeroTouchEnrollmentMode(); 97 static ZeroTouchEnrollmentMode GetZeroTouchEnrollmentMode();
96 98
97 // Returns the robot 'email address' associated with the device robot 99 // Returns the robot 'email address' associated with the device robot
98 // account (sometimes called a service account) associated with this device 100 // account (sometimes called a service account) associated with this device
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 attestation_policy_observer_; 161 attestation_policy_observer_;
160 162
161 base::ObserverList<Observer, true> observers_; 163 base::ObserverList<Observer, true> observers_;
162 164
163 DISALLOW_COPY_AND_ASSIGN(DeviceCloudPolicyManagerChromeOS); 165 DISALLOW_COPY_AND_ASSIGN(DeviceCloudPolicyManagerChromeOS);
164 }; 166 };
165 167
166 } // namespace policy 168 } // namespace policy
167 169
168 #endif // CHROME_BROWSER_CHROMEOS_POLICY_DEVICE_CLOUD_POLICY_MANAGER_CHROMEOS_H _ 170 #endif // CHROME_BROWSER_CHROMEOS_POLICY_DEVICE_CLOUD_POLICY_MANAGER_CHROMEOS_H _
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698