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

Side by Side Diff: chrome/browser/chromeos/login/ownership_service.h

Issue 8899002: [cros] Add --stub-cros-settings option for testing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge Created 9 years 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_LOGIN_OWNERSHIP_SERVICE_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_OWNERSHIP_SERVICE_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_OWNERSHIP_SERVICE_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_OWNERSHIP_SERVICE_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 OwnerManager::Delegate* d); 122 OwnerManager::Delegate* d);
123 static void FailAttempt(OwnerManager::Delegate* d); 123 static void FailAttempt(OwnerManager::Delegate* d);
124 124
125 OwnerManager* manager() { return manager_.get(); } 125 OwnerManager* manager() { return manager_.get(); }
126 126
127 scoped_refptr<OwnerManager> manager_; 127 scoped_refptr<OwnerManager> manager_;
128 scoped_refptr<OwnerKeyUtils> utils_; 128 scoped_refptr<OwnerKeyUtils> utils_;
129 content::NotificationRegistrar notification_registrar_; 129 content::NotificationRegistrar notification_registrar_;
130 volatile Status ownership_status_; 130 volatile Status ownership_status_;
131 base::Lock ownership_status_lock_; 131 base::Lock ownership_status_lock_;
132
133 // If true, current user is regarded as owner (for testing only).
134 bool force_ownership_;
132 }; 135 };
133 136
134 } // namespace chromeos 137 } // namespace chromeos
135 138
136 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_OWNERSHIP_SERVICE_H_ 139 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_OWNERSHIP_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/device_settings_provider.cc ('k') | chrome/browser/chromeos/login/ownership_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698