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

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

Issue 186803003: Use custom profile names (if available) for signed in profiles (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | 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/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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 virtual bool IsOmittedProfileAtIndex(size_t index) const = 0; 69 virtual bool IsOmittedProfileAtIndex(size_t index) const = 0;
70 70
71 virtual std::string GetManagedUserIdOfProfileAtIndex(size_t index) const = 0; 71 virtual std::string GetManagedUserIdOfProfileAtIndex(size_t index) const = 0;
72 72
73 // This profile is associated with an account but has been signed-out. 73 // This profile is associated with an account but has been signed-out.
74 virtual bool ProfileIsSigninRequiredAtIndex(size_t index) const = 0; 74 virtual bool ProfileIsSigninRequiredAtIndex(size_t index) const = 0;
75 75
76 // Profile is known to be ephemeral and should be deleted when closed. 76 // Profile is known to be ephemeral and should be deleted when closed.
77 virtual bool ProfileIsEphemeralAtIndex(size_t index) const = 0; 77 virtual bool ProfileIsEphemeralAtIndex(size_t index) const = 0;
78 78
79 // Returns true if the profile is using the name it was assigned by default
80 // at creation (either the old-style "Lemonade" name, or the new "Profile %d"
81 // style name).
82 virtual bool ProfileIsUsingDefaultNameAtIndex(size_t index) const = 0;
83
79 protected: 84 protected:
80 virtual ~ProfileInfoInterface() {} 85 virtual ~ProfileInfoInterface() {}
81 }; 86 };
82 87
83 #endif // CHROME_BROWSER_PROFILES_PROFILE_INFO_INTERFACE_H_ 88 #endif // CHROME_BROWSER_PROFILES_PROFILE_INFO_INTERFACE_H_
OLDNEW
« no previous file with comments | « chrome/browser/profiles/profile_info_cache_unittest.cc ('k') | chrome/browser/profiles/profiles_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698