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

Side by Side Diff: chrome/browser/chromeos/settings/device_settings_service.h

Issue 135193007: Use user specific NSSDatabase in CertLoader. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 11 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 | Annotate | Revision Log
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_SETTINGS_DEVICE_SETTINGS_SERVICE_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_SETTINGS_DEVICE_SETTINGS_SERVICE_H_
6 #define CHROME_BROWSER_CHROMEOS_SETTINGS_DEVICE_SETTINGS_SERVICE_H_ 6 #define CHROME_BROWSER_CHROMEOS_SETTINGS_DEVICE_SETTINGS_SERVICE_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 // Adds an observer. 190 // Adds an observer.
191 void AddObserver(Observer* observer); 191 void AddObserver(Observer* observer);
192 // Removes an observer. 192 // Removes an observer.
193 void RemoveObserver(Observer* observer); 193 void RemoveObserver(Observer* observer);
194 194
195 // SessionManagerClient::Observer: 195 // SessionManagerClient::Observer:
196 virtual void OwnerKeySet(bool success) OVERRIDE; 196 virtual void OwnerKeySet(bool success) OVERRIDE;
197 virtual void PropertyChangeComplete(bool success) OVERRIDE; 197 virtual void PropertyChangeComplete(bool success) OVERRIDE;
198 198
199 // TPMTokenLoader::Observer: 199 // TPMTokenLoader::Observer:
200 virtual void OnTPMTokenReady(const std::string& tpm_user_pin, 200 virtual void OnTPMTokenReady() OVERRIDE;
201 const std::string& tpm_token_name,
202 int tpm_token_slot_id) OVERRIDE;
203 201
204 private: 202 private:
205 // Enqueues a new operation. Takes ownership of |operation| and starts it 203 // Enqueues a new operation. Takes ownership of |operation| and starts it
206 // right away if there is no active operation currently. 204 // right away if there is no active operation currently.
207 void Enqueue(SessionManagerOperation* operation); 205 void Enqueue(SessionManagerOperation* operation);
208 206
209 // Enqueues a load operation. 207 // Enqueues a load operation.
210 void EnqueueLoad(bool force_key_load); 208 void EnqueueLoad(bool force_key_load);
211 209
212 // Makes sure there's a reload operation so changes to the settings (and key, 210 // Makes sure there's a reload operation so changes to the settings (and key,
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 ScopedTestDeviceSettingsService(); 261 ScopedTestDeviceSettingsService();
264 ~ScopedTestDeviceSettingsService(); 262 ~ScopedTestDeviceSettingsService();
265 263
266 private: 264 private:
267 DISALLOW_COPY_AND_ASSIGN(ScopedTestDeviceSettingsService); 265 DISALLOW_COPY_AND_ASSIGN(ScopedTestDeviceSettingsService);
268 }; 266 };
269 267
270 } // namespace chromeos 268 } // namespace chromeos
271 269
272 #endif // CHROME_BROWSER_CHROMEOS_SETTINGS_DEVICE_SETTINGS_SERVICE_H_ 270 #endif // CHROME_BROWSER_CHROMEOS_SETTINGS_DEVICE_SETTINGS_SERVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698