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

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

Issue 23790005: UserManager shutdown now also stops the profile image downloader. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Typo fixed. Created 7 years, 3 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) 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_IMAGE_MANAGER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_USER_IMAGE_MANAGER_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_USER_IMAGE_MANAGER_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_USER_IMAGE_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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 74
75 // Returns the result of the last successful profile image download, if any. 75 // Returns the result of the last successful profile image download, if any.
76 // Otherwise, returns an empty bitmap. 76 // Otherwise, returns an empty bitmap.
77 virtual const gfx::ImageSkia& DownloadedProfileImage() const = 0; 77 virtual const gfx::ImageSkia& DownloadedProfileImage() const = 0;
78 78
79 // Returns sync observer attached to current user. Returns NULL if current 79 // Returns sync observer attached to current user. Returns NULL if current
80 // user can't sync images or user is not logged in. 80 // user can't sync images or user is not logged in.
81 virtual UserImageSyncObserver* GetSyncObserver() const = 0; 81 virtual UserImageSyncObserver* GetSyncObserver() const = 0;
82 82
83 // Unregisters preference observers before browser process shutdown. 83 // Unregisters preference observers before browser process shutdown.
84 // Also cancels any profile image download in progress.
84 virtual void Shutdown() = 0; 85 virtual void Shutdown() = 0;
85 }; 86 };
86 87
87 } // namespace chromeos 88 } // namespace chromeos
88 89
89 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USER_IMAGE_MANAGER_H_ 90 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USER_IMAGE_MANAGER_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/chrome_browser_main_chromeos.cc ('k') | chrome/browser/chromeos/login/user_image_manager_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698