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

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

Issue 24647003: Redesign of the avatar menu button. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: better fix for app/popup browser crash Created 7 years, 2 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
« no previous file with comments | « chrome/app/theme/theme_resources.grd ('k') | 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 "base/strings/string16.h"
9
10 class Browser;
8 class PrefRegistrySimple; 11 class PrefRegistrySimple;
9 namespace base { class FilePath; } 12 namespace base { class FilePath; }
10 13
11 namespace profiles { 14 namespace profiles {
12 15
13 // Checks if multiple profiles is enabled. 16 // Checks if multiple profiles is enabled.
14 bool IsMultipleProfilesEnabled(); 17 bool IsMultipleProfilesEnabled();
15 18
16 // Checks if new profile management is enabled. 19 // Checks if new profile management is enabled.
17 bool IsNewProfileManagementEnabled(); 20 bool IsNewProfileManagementEnabled();
18 21
19 // Returns the path to the default profile directory, based on the given 22 // Returns the path to the default profile directory, based on the given
20 // user data directory. 23 // user data directory.
21 base::FilePath GetDefaultProfileDir(const base::FilePath& user_data_dir); 24 base::FilePath GetDefaultProfileDir(const base::FilePath& user_data_dir);
22 25
23 // Returns the path to the preferences file given the user profile directory. 26 // Returns the path to the preferences file given the user profile directory.
24 base::FilePath GetProfilePrefsPath(const base::FilePath& profile_dir); 27 base::FilePath GetProfilePrefsPath(const base::FilePath& profile_dir);
25 28
26 // Register multi-profile related preferences in Local State. 29 // Register multi-profile related preferences in Local State.
27 void RegisterPrefs(PrefRegistrySimple* registry); 30 void RegisterPrefs(PrefRegistrySimple* registry);
28 31
32 // Returns the display name of the active on-the-record profile (or guest).
33 string16 GetActiveProfileDisplayName(Browser* browser);
34
29 } // namespace profiles 35 } // namespace profiles
30 36
31 #endif // CHROME_BROWSER_PROFILES_PROFILES_STATE_H_ 37 #endif // CHROME_BROWSER_PROFILES_PROFILES_STATE_H_
OLDNEW
« no previous file with comments | « chrome/app/theme/theme_resources.grd ('k') | chrome/browser/profiles/profiles_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698