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

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

Issue 117533002: [Mac] Redesign of the avatar menu button (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nico review Created 6 years, 11 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
« no previous file with comments | « no previous file | chrome/browser/profiles/profiles_state.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_PROFILES_STATE_H_ 5 #ifndef CHROME_BROWSER_PROFILES_PROFILES_STATE_H_
6 #define CHROME_BROWSER_PROFILES_PROFILES_STATE_H_ 6 #define CHROME_BROWSER_PROFILES_PROFILES_STATE_H_
7 7
8 #include <vector> 8 #include <vector>
9 #include "base/strings/string16.h" 9 #include "base/strings/string16.h"
10 10
(...skipping 25 matching lines...) Expand all
36 void UpdateProfileName(Profile* profile, 36 void UpdateProfileName(Profile* profile,
37 const base::string16& new_profile_name); 37 const base::string16& new_profile_name);
38 38
39 // Returns the list of secondary accounts for a specific |profile|, which is 39 // Returns the list of secondary accounts for a specific |profile|, which is
40 // all the email addresses associated with the profile that are not equal to 40 // all the email addresses associated with the profile that are not equal to
41 // the |primary_account|. 41 // the |primary_account|.
42 std::vector<std::string> GetSecondaryAccountsForProfile( 42 std::vector<std::string> GetSecondaryAccountsForProfile(
43 Profile* profile, 43 Profile* profile,
44 const std::string& primary_account); 44 const std::string& primary_account);
45 45
46 // Returns whether the |browser|'s profile is a non-incognito or guest profile.
47 // The distinction is needed because guest profiles are implemented as
48 // incognito profiles.
49 bool IsRegularOrGuestSession(Browser* browser);
50
46 } // namespace profiles 51 } // namespace profiles
47 52
48 #endif // CHROME_BROWSER_PROFILES_PROFILES_STATE_H_ 53 #endif // CHROME_BROWSER_PROFILES_PROFILES_STATE_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/profiles/profiles_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698