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

Side by Side Diff: chrome/browser/chromeos/login/users/chrome_user_manager_impl.h

Issue 1470633002: ChromeOS: Fix removeUser button on signin screen. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@462823--Chrome-OS-handles-deletion-of-Gmail-account-poorly--Fix-GetKnownUserAccountId
Patch Set: Rebased. Created 5 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_USERS_CHROME_USER_MANAGER_IMPL_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_USERS_CHROME_USER_MANAGER_IMPL_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_USERS_CHROME_USER_MANAGER_IMPL_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_USERS_CHROME_USER_MANAGER_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 void RemovePendingBootstrapUser(const std::string& user_id) override; 209 void RemovePendingBootstrapUser(const std::string& user_id) override;
210 210
211 // Update the number of users. 211 // Update the number of users.
212 void UpdateNumberOfUsers(); 212 void UpdateNumberOfUsers();
213 213
214 // Starts (or stops) automatic timezone refresh on geolocation, 214 // Starts (or stops) automatic timezone refresh on geolocation,
215 // depending on user preferences. 215 // depending on user preferences.
216 void UpdateUserTimeZoneRefresher(Profile* profile); 216 void UpdateUserTimeZoneRefresher(Profile* profile);
217 217
218 // Adds user to the list of the users who should be reported. 218 // Adds user to the list of the users who should be reported.
219 void AddReportingUser(const std::string& user_id); 219 void AddReportingUser(const AccountId& account_id);
220 220
221 // Removes user from the list of the users who should be reported. 221 // Removes user from the list of the users who should be reported.
222 void RemoveReportingUser(const std::string& user_id); 222 void RemoveReportingUser(const AccountId& account_id);
223 223
224 // Interface to the signed settings store. 224 // Interface to the signed settings store.
225 CrosSettings* cros_settings_; 225 CrosSettings* cros_settings_;
226 226
227 // Interface to device-local account definitions and associated policy. 227 // Interface to device-local account definitions and associated policy.
228 policy::DeviceLocalAccountPolicyService* device_local_account_policy_service_; 228 policy::DeviceLocalAccountPolicyService* device_local_account_policy_service_;
229 229
230 content::NotificationRegistrar registrar_; 230 content::NotificationRegistrar registrar_;
231 231
232 // User avatar managers. 232 // User avatar managers.
(...skipping 28 matching lines...) Expand all
261 scoped_ptr<BootstrapManager> bootstrap_manager_; 261 scoped_ptr<BootstrapManager> bootstrap_manager_;
262 262
263 base::WeakPtrFactory<ChromeUserManagerImpl> weak_factory_; 263 base::WeakPtrFactory<ChromeUserManagerImpl> weak_factory_;
264 264
265 DISALLOW_COPY_AND_ASSIGN(ChromeUserManagerImpl); 265 DISALLOW_COPY_AND_ASSIGN(ChromeUserManagerImpl);
266 }; 266 };
267 267
268 } // namespace chromeos 268 } // namespace chromeos
269 269
270 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USERS_CHROME_USER_MANAGER_IMPL_H_ 270 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USERS_CHROME_USER_MANAGER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698