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

Side by Side Diff: chrome/common/pref_names.cc

Issue 566933005: Do not display lock for hosted domains (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change to a hosted domain preference. Fix unit tests. Created 6 years, 3 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "chrome/common/pref_names.h" 5 #include "chrome/common/pref_names.h"
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "chrome/common/pref_font_webkit_names.h" 8 #include "chrome/common/pref_font_webkit_names.h"
9 9
10 namespace prefs { 10 namespace prefs {
(...skipping 23 matching lines...) Expand all
34 // A boolean specifying whether the New Tab page is the home page or not. 34 // A boolean specifying whether the New Tab page is the home page or not.
35 const char kHomePageIsNewTabPage[] = "homepage_is_newtabpage"; 35 const char kHomePageIsNewTabPage[] = "homepage_is_newtabpage";
36 36
37 // This is the URL of the page to load when opening new tabs. 37 // This is the URL of the page to load when opening new tabs.
38 const char kHomePage[] = "homepage"; 38 const char kHomePage[] = "homepage";
39 39
40 // An integer that keeps track of the profile icon version. This allows us to 40 // An integer that keeps track of the profile icon version. This allows us to
41 // determine the state of the profile icon for icon format changes. 41 // determine the state of the profile icon for icon format changes.
42 const char kProfileIconVersion[] = "profile.icon_version"; 42 const char kProfileIconVersion[] = "profile.icon_version";
43 43
44 // A string of profile's hosted domain; empty if there is no HD.
45 const char kProfileHostedDomain[] = "profile.hosted_domain";
Roger Tawa OOO till Jul 10th 2014/09/19 16:03:43 Seems like this pref should be in signin_pref_name
Mike Lerman 2014/09/19 18:51:40 Done.
46
47 // Version to increment to determine if kProfileIsLockable was calculated
48 // using the most recent algorithm. This is expected to change at least once.
49 const char kProfileIsLockableVersion[] = "profile.is_lock_enabled_version";
50
44 // Used to determine if the last session exited cleanly. Set to false when 51 // Used to determine if the last session exited cleanly. Set to false when
45 // first opened, and to true when closing. On startup if the value is false, 52 // first opened, and to true when closing. On startup if the value is false,
46 // it means the profile didn't exit cleanly. 53 // it means the profile didn't exit cleanly.
47 // DEPRECATED: this is replaced by kSessionExitType and exists for backwards 54 // DEPRECATED: this is replaced by kSessionExitType and exists for backwards
48 // compatibility. 55 // compatibility.
49 const char kSessionExitedCleanly[] = "profile.exited_cleanly"; 56 const char kSessionExitedCleanly[] = "profile.exited_cleanly";
50 57
51 // A string pref whose values is one of the values defined by 58 // A string pref whose values is one of the values defined by
52 // |ProfileImpl::kPrefExitTypeXXX|. Set to |kPrefExitTypeCrashed| on startup and 59 // |ProfileImpl::kPrefExitTypeXXX|. Set to |kPrefExitTypeCrashed| on startup and
53 // one of |kPrefExitTypeNormal| or |kPrefExitTypeSessionEnded| during 60 // one of |kPrefExitTypeNormal| or |kPrefExitTypeSessionEnded| during
(...skipping 2259 matching lines...) Expand 10 before | Expand all | Expand 10 after
2313 // Whether DNS Quick Check is disabled in proxy resolution. 2320 // Whether DNS Quick Check is disabled in proxy resolution.
2314 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled"; 2321 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled";
2315 2322
2316 // Whether Guest Mode is enabled within the browser. 2323 // Whether Guest Mode is enabled within the browser.
2317 const char kBrowserGuestModeEnabled[] = "profile.browser_guest_enabled"; 2324 const char kBrowserGuestModeEnabled[] = "profile.browser_guest_enabled";
2318 2325
2319 // Whether Adding a new Person is enabled within the user manager. 2326 // Whether Adding a new Person is enabled within the user manager.
2320 const char kBrowserAddPersonEnabled[] = "profile.add_person_enabled"; 2327 const char kBrowserAddPersonEnabled[] = "profile.add_person_enabled";
2321 2328
2322 } // namespace prefs 2329 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698