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

Side by Side Diff: chrome/browser/profiles/profile_info_interface.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
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_PROFILES_PROFILE_INFO_INTERFACE_H_ 5 #ifndef CHROME_BROWSER_PROFILES_PROFILE_INFO_INTERFACE_H_
6 #define CHROME_BROWSER_PROFILES_PROFILE_INFO_INTERFACE_H_ 6 #define CHROME_BROWSER_PROFILES_PROFILE_INFO_INTERFACE_H_
7 7
8 #include "base/file_path.h" 8 #include "base/file_path.h"
9 #include "base/string16.h" 9 #include "base/string16.h"
10 10
(...skipping 18 matching lines...) Expand all
29 virtual string16 GetUserNameOfProfileAtIndex(size_t index) const = 0; 29 virtual string16 GetUserNameOfProfileAtIndex(size_t index) const = 0;
30 30
31 virtual const gfx::Image& GetAvatarIconOfProfileAtIndex( 31 virtual const gfx::Image& GetAvatarIconOfProfileAtIndex(
32 size_t index) const = 0; 32 size_t index) const = 0;
33 33
34 // Returns true if the profile at the given index is currently running any 34 // Returns true if the profile at the given index is currently running any
35 // background apps. 35 // background apps.
36 virtual bool GetBackgroundStatusOfProfileAtIndex( 36 virtual bool GetBackgroundStatusOfProfileAtIndex(
37 size_t index) const = 0; 37 size_t index) const = 0;
38 38
39 virtual string16 GetGAIANameOfProfileAtIndex(size_t index) const = 0;
40
41 // Checks if the GAIA name should be used as the profile's name.
42 virtual bool IsUsingGAIANameOfProfileAtIndex(size_t index) const = 0;
43
44 virtual const gfx::Image& GetGAIAPictureOfProfileAtIndex(
45 size_t index) const = 0;
46
47 // Checks if the GAIA picture should be used as the profile's avatar icon.
48 virtual bool IsUsingGAIAPictureOfProfileAtIndex(size_t index) const = 0;
49
50 protected: 39 protected:
51 virtual ~ProfileInfoInterface() {} 40 virtual ~ProfileInfoInterface() {}
52 }; 41 };
53 42
54 #endif // CHROME_BROWSER_PROFILES_PROFILE_INFO_INTERFACE_H_ 43 #endif // CHROME_BROWSER_PROFILES_PROFILE_INFO_INTERFACE_H_
OLDNEW
« no previous file with comments | « chrome/browser/profiles/profile_info_cache_unittest.cc ('k') | chrome/common/chrome_notification_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698