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

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

Issue 845373002: Change default code flag to NewAvatarMenu. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Test comment. GetAvatarIcon's no longer const. Created 5 years, 9 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
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/files/file_path.h" 8 #include "base/files/file_path.h"
9 #include "base/strings/string16.h" 9 #include "base/strings/string16.h"
10 10
(...skipping 19 matching lines...) Expand all
30 30
31 virtual base::string16 GetNameOfProfileAtIndex(size_t index) const = 0; 31 virtual base::string16 GetNameOfProfileAtIndex(size_t index) const = 0;
32 32
33 virtual base::string16 GetShortcutNameOfProfileAtIndex( 33 virtual base::string16 GetShortcutNameOfProfileAtIndex(
34 size_t index) const = 0; 34 size_t index) const = 0;
35 35
36 virtual base::FilePath GetPathOfProfileAtIndex(size_t index) const = 0; 36 virtual base::FilePath GetPathOfProfileAtIndex(size_t index) const = 0;
37 37
38 virtual base::string16 GetUserNameOfProfileAtIndex(size_t index) const = 0; 38 virtual base::string16 GetUserNameOfProfileAtIndex(size_t index) const = 0;
39 39
40 virtual const gfx::Image& GetAvatarIconOfProfileAtIndex( 40 virtual const gfx::Image& GetAvatarIconOfProfileAtIndex(size_t index) = 0;
41 size_t index) const = 0;
42 41
43 virtual std::string GetLocalAuthCredentialsOfProfileAtIndex( 42 virtual std::string GetLocalAuthCredentialsOfProfileAtIndex(
44 size_t index) const = 0; 43 size_t index) const = 0;
45 44
46 // Returns true if the profile at the given index is currently running any 45 // Returns true if the profile at the given index is currently running any
47 // background apps. 46 // background apps.
48 virtual bool GetBackgroundStatusOfProfileAtIndex( 47 virtual bool GetBackgroundStatusOfProfileAtIndex(
49 size_t index) const = 0; 48 size_t index) const = 0;
50 49
51 virtual base::string16 GetGAIANameOfProfileAtIndex(size_t index) const = 0; 50 virtual base::string16 GetGAIANameOfProfileAtIndex(size_t index) const = 0;
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 virtual bool ProfileIsUsingDefaultNameAtIndex(size_t index) const = 0; 85 virtual bool ProfileIsUsingDefaultNameAtIndex(size_t index) const = 0;
87 86
88 // Returns true if the user has never manually selected a profile avatar. 87 // Returns true if the user has never manually selected a profile avatar.
89 virtual bool ProfileIsUsingDefaultAvatarAtIndex(size_t index) const = 0; 88 virtual bool ProfileIsUsingDefaultAvatarAtIndex(size_t index) const = 0;
90 89
91 protected: 90 protected:
92 virtual ~ProfileInfoInterface() {} 91 virtual ~ProfileInfoInterface() {}
93 }; 92 };
94 93
95 #endif // CHROME_BROWSER_PROFILES_PROFILE_INFO_INTERFACE_H_ 94 #endif // CHROME_BROWSER_PROFILES_PROFILE_INFO_INTERFACE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698