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

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

Issue 14507003: Add tray warning for Locally managed users. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix win-aura compile error Created 7 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
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_LOGIN_USER_MANAGER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "chrome/browser/chromeos/login/user.h" 10 #include "chrome/browser/chromeos/login/user.h"
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
248 // Returns true when the browser has crashed and restarted during the current 248 // Returns true when the browser has crashed and restarted during the current
249 // user's session. 249 // user's session.
250 virtual bool HasBrowserRestarted() const = 0; 250 virtual bool HasBrowserRestarted() const = 0;
251 251
252 // Returns true if data stored or cached for the user with the given email 252 // Returns true if data stored or cached for the user with the given email
253 // address outside that user's cryptohome (wallpaper, avatar, OAuth token 253 // address outside that user's cryptohome (wallpaper, avatar, OAuth token
254 // status, display name, display email) is to be treated as ephemeral. 254 // status, display name, display email) is to be treated as ephemeral.
255 virtual bool IsUserNonCryptohomeDataEphemeral( 255 virtual bool IsUserNonCryptohomeDataEphemeral(
256 const std::string& email) const = 0; 256 const std::string& email) const = 0;
257 257
258 // Returns manager user ID for given |managed_user_id|.
259 virtual std::string GetManagerForManagedUser(
260 const std::string& managed_user_id) const = 0;
261
258 // Create a record about starting locally managed user creation transaction. 262 // Create a record about starting locally managed user creation transaction.
259 virtual void StartLocallyManagedUserCreationTransaction( 263 virtual void StartLocallyManagedUserCreationTransaction(
260 const string16& display_name) = 0; 264 const string16& display_name) = 0;
261 265
262 // Add user id to locally managed user creation transaction record. 266 // Add user id to locally managed user creation transaction record.
263 virtual void SetLocallyManagedUserCreationTransactionUserId( 267 virtual void SetLocallyManagedUserCreationTransactionUserId(
264 const std::string& email) = 0; 268 const std::string& email) = 0;
265 269
266 // Remove locally managed user creation transaction record. 270 // Remove locally managed user creation transaction record.
267 virtual void CommitLocallyManagedUserCreationTransaction() = 0; 271 virtual void CommitLocallyManagedUserCreationTransaction() = 0;
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
333 ScopedTestUserManager(); 337 ScopedTestUserManager();
334 ~ScopedTestUserManager(); 338 ~ScopedTestUserManager();
335 339
336 private: 340 private:
337 DISALLOW_COPY_AND_ASSIGN(ScopedTestUserManager); 341 DISALLOW_COPY_AND_ASSIGN(ScopedTestUserManager);
338 }; 342 };
339 343
340 } // namespace chromeos 344 } // namespace chromeos
341 345
342 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_H_ 346 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/mock_user_manager.h ('k') | chrome/browser/chromeos/login/user_manager_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698