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

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

Issue 8673003: Revert 111254 - Add GAIA info to profile info cache (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 1 month 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
« no previous file with comments | « no previous file | chrome/browser/profiles/profile_info_cache.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_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 10
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 // Deletes user's image file. Runs on FILE thread. 205 // Deletes user's image file. Runs on FILE thread.
206 void DeleteUserImage(const FilePath& image_path); 206 void DeleteUserImage(const FilePath& image_path);
207 207
208 // Updates current user ownership on UI thread. 208 // Updates current user ownership on UI thread.
209 void UpdateOwnership(bool is_owner); 209 void UpdateOwnership(bool is_owner);
210 210
211 // Checks current user's ownership on file thread. 211 // Checks current user's ownership on file thread.
212 void CheckOwnership(); 212 void CheckOwnership();
213 213
214 // ProfileDownloaderDelegate implementation. 214 // ProfileDownloaderDelegate implementation.
215 virtual int GetDesiredImageSize() OVERRIDE; 215 virtual int GetDesiredImageSideLength() OVERRIDE;
216 virtual Profile* GetBrowserProfile() OVERRIDE; 216 virtual Profile* GetBrowserProfile() OVERRIDE;
217 virtual void OnDownloadComplete(ProfileDownloader* downloader, 217 virtual void OnDownloadComplete(ProfileDownloader* downloader,
218 bool success) OVERRIDE; 218 bool success) OVERRIDE;
219 219
220 // Creates a new User instance. 220 // Creates a new User instance.
221 User* CreateUser(const std::string& email) const; 221 User* CreateUser(const std::string& email) const;
222 222
223 // Loads user image from its file. 223 // Loads user image from its file.
224 scoped_refptr<UserImageLoader> image_loader_; 224 scoped_refptr<UserImageLoader> image_loader_;
225 225
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 276
277 // Data URL for |downloaded_profile_image_|. 277 // Data URL for |downloaded_profile_image_|.
278 std::string downloaded_profile_image_data_url_; 278 std::string downloaded_profile_image_data_url_;
279 279
280 DISALLOW_COPY_AND_ASSIGN(UserManager); 280 DISALLOW_COPY_AND_ASSIGN(UserManager);
281 }; 281 };
282 282
283 } // namespace chromeos 283 } // namespace chromeos
284 284
285 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_H_ 285 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/profiles/profile_info_cache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698