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

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

Issue 8399005: [cros] Don't succeed if user has default profile picturewq (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Histograms with download results. Better path parsing 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
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 #include <vector> 10 #include <vector>
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 int GetUserDefaultImageIndex(const std::string& username); 165 int GetUserDefaultImageIndex(const std::string& username);
166 166
167 // chromeos::UserImageLoader::Delegate implementation. 167 // chromeos::UserImageLoader::Delegate implementation.
168 virtual void OnImageLoaded(const std::string& username, 168 virtual void OnImageLoaded(const std::string& username,
169 const SkBitmap& image, 169 const SkBitmap& image,
170 int image_index, 170 int image_index,
171 bool save_image); 171 bool save_image);
172 172
173 // ProfileImageDownloader::Delegate implementation. 173 // ProfileImageDownloader::Delegate implementation.
174 virtual void OnDownloadSuccess(const SkBitmap& image) OVERRIDE; 174 virtual void OnDownloadSuccess(const SkBitmap& image) OVERRIDE;
175 virtual void OnDownloadFailure() OVERRIDE;
176 virtual void OnDownloadDefaultImage() OVERRIDE;
175 177
176 // content::NotificationObserver implementation. 178 // content::NotificationObserver implementation.
177 virtual void Observe(int type, 179 virtual void Observe(int type,
178 const content::NotificationSource& source, 180 const content::NotificationSource& source,
179 const content::NotificationDetails& details) OVERRIDE; 181 const content::NotificationDetails& details) OVERRIDE;
180 182
181 // Accessor for current_user_is_owner_ 183 // Accessor for current_user_is_owner_
182 virtual bool current_user_is_owner() const; 184 virtual bool current_user_is_owner() const;
183 virtual void set_current_user_is_owner(bool current_user_is_owner); 185 virtual void set_current_user_is_owner(bool current_user_is_owner);
184 186
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 bool last_image_set_async_; 302 bool last_image_set_async_;
301 303
302 DISALLOW_COPY_AND_ASSIGN(UserManager); 304 DISALLOW_COPY_AND_ASSIGN(UserManager);
303 }; 305 };
304 306
305 typedef std::vector<UserManager::User> UserVector; 307 typedef std::vector<UserManager::User> UserVector;
306 308
307 } // namespace chromeos 309 } // namespace chromeos
308 310
309 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_H_ 311 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698