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

Side by Side Diff: chrome/browser/profiles/profile_info_interface.h

Issue 8587023: 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 virtual bool GetIsUsingGAIANameOfProfileAtIndex(size_t index) const = 0;
Miranda Callahan 2011/11/17 15:21:10 Could you add comments, at least for this one and
sail 2011/11/21 23:52:47 Done.
42
43 virtual const gfx::Image& GetGAIAPictureOfProfileAtIndex(
44 size_t index) const = 0;
45
46 virtual bool GetIsUsingGAIAPictureOfProfileAtIndex(size_t index) const = 0;
47
39 protected: 48 protected:
40 virtual ~ProfileInfoInterface() {} 49 virtual ~ProfileInfoInterface() {}
41 }; 50 };
42 51
43 #endif // CHROME_BROWSER_PROFILES_PROFILE_INFO_INTERFACE_H_ 52 #endif // CHROME_BROWSER_PROFILES_PROFILE_INFO_INTERFACE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698