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

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

Issue 1135413002: Disable screenshot uploading if there has been user input. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Self-review Created 5 years, 7 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_unittest.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 <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 // parameter indicating the result when done. 98 // parameter indicating the result when done.
99 virtual void Unregister(const UnregisterCallback& callback); 99 virtual void Unregister(const UnregisterCallback& callback);
100 100
101 // Disconnects the manager. 101 // Disconnects the manager.
102 virtual void Disconnect(); 102 virtual void Disconnect();
103 103
104 DeviceCloudPolicyStoreChromeOS* device_store() { 104 DeviceCloudPolicyStoreChromeOS* device_store() {
105 return device_store_.get(); 105 return device_store_.get();
106 } 106 }
107 107
108 bool HasStatusUploaderForTest() { return status_uploader_; } 108 // Return the StatusUploader used to communicate device status to the
109 // policy server.
110 StatusUploader* GetStatusUploader() const { return status_uploader_.get(); }
109 111
110 private: 112 private:
111 // Saves the state keys received from |session_manager_client_|. 113 // Saves the state keys received from |session_manager_client_|.
112 void OnStateKeysUpdated(); 114 void OnStateKeysUpdated();
113 115
114 // Initializes requisition settings at OOBE with values from VPD. 116 // Initializes requisition settings at OOBE with values from VPD.
115 void InitializeRequisition(); 117 void InitializeRequisition();
116 118
117 void NotifyConnected(); 119 void NotifyConnected();
118 void NotifyDisconnected(); 120 void NotifyDisconnected();
(...skipping 26 matching lines...) Expand all
145 attestation_policy_observer_; 147 attestation_policy_observer_;
146 148
147 ObserverList<Observer, true> observers_; 149 ObserverList<Observer, true> observers_;
148 150
149 DISALLOW_COPY_AND_ASSIGN(DeviceCloudPolicyManagerChromeOS); 151 DISALLOW_COPY_AND_ASSIGN(DeviceCloudPolicyManagerChromeOS);
150 }; 152 };
151 153
152 } // namespace policy 154 } // namespace policy
153 155
154 #endif // CHROME_BROWSER_CHROMEOS_POLICY_DEVICE_CLOUD_POLICY_MANAGER_CHROMEOS_H _ 156 #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_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698