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

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

Issue 6625076: Removing references to off the record in comments and log messages. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 9 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 // only be called from the main UI thread. 58 // only be called from the main UI thread.
59 static UserManager* Get(); 59 static UserManager* Get();
60 60
61 // Registers user manager preferences. 61 // Registers user manager preferences.
62 static void RegisterPrefs(PrefService* local_state); 62 static void RegisterPrefs(PrefService* local_state);
63 63
64 // Returns a list of the users who have logged into this device previously. 64 // Returns a list of the users who have logged into this device previously.
65 // It is sorted in order of recency, with most recent at the beginning. 65 // It is sorted in order of recency, with most recent at the beginning.
66 virtual std::vector<User> GetUsers() const; 66 virtual std::vector<User> GetUsers() const;
67 67
68 // Indicates that user just started off the record session. 68 // Indicates that user just started incognito session.
69 virtual void OffTheRecordUserLoggedIn(); 69 virtual void OffTheRecordUserLoggedIn();
70 70
71 // Indicates that a user with the given email has just logged in. 71 // Indicates that a user with the given email has just logged in.
72 // The persistent list will be updated accordingly. 72 // The persistent list will be updated accordingly.
73 virtual void UserLoggedIn(const std::string& email); 73 virtual void UserLoggedIn(const std::string& email);
74 74
75 // Removes the user from the device. Note, it will verify that the given user 75 // Removes the user from the device. Note, it will verify that the given user
76 // isn't the owner, so calling this method for the owner will take no effect. 76 // isn't the owner, so calling this method for the owner will take no effect.
77 // Note, |delegate| can be NULL. 77 // Note, |delegate| can be NULL.
78 virtual void RemoveUser(const std::string& email, 78 virtual void RemoveUser(const std::string& email,
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 NotificationRegistrar registrar_; 157 NotificationRegistrar registrar_;
158 158
159 DISALLOW_COPY_AND_ASSIGN(UserManager); 159 DISALLOW_COPY_AND_ASSIGN(UserManager);
160 }; 160 };
161 161
162 typedef std::vector<UserManager::User> UserVector; 162 typedef std::vector<UserManager::User> UserVector;
163 163
164 } // namespace chromeos 164 } // namespace chromeos
165 165
166 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_H_ 166 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698