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

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

Issue 7791029: When the user navigates to the home page, make sure to set the RLZ string (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Taking out session restore changes, not needed Created 9 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 | 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 #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 8
9 namespace prefs { 9 namespace prefs {
10 10
11 // *************** PROFILE PREFS *************** 11 // *************** PROFILE PREFS ***************
12 // These are attached to the user profile 12 // These are attached to the user profile
13 13
14 // A counter that controls whether the apps promo is shown in the app launcher 14 // A counter that controls whether the apps promo is shown in the app launcher
15 // or not. 15 // or not.
16 const char kAppsPromoCounter[] = "apps_promo_counter"; 16 const char kAppsPromoCounter[] = "apps_promo_counter";
17 17
18 // Whether we have installed default apps yet in this profile. 18 // Whether we have installed default apps yet in this profile.
19 const char kDefaultAppsInstalled[] = "default_apps_installed"; 19 const char kDefaultAppsInstalled[] = "default_apps_installed";
20 20
21 // A boolean specifying whether the New Tab page is the home page or not. 21 // A boolean specifying whether the New Tab page is the home page or not.
22 const char kHomePageIsNewTabPage[] = "homepage_is_newtabpage"; 22 const char kHomePageIsNewTabPage[] = "homepage_is_newtabpage";
23 23
24 // This is the URL of the page to load when opening new tabs. 24 // This is the URL of the page to load when opening new tabs.
25 const char kHomePage[] = "homepage"; 25 const char kHomePage[] = "homepage";
26 26
27 // Did the user change the home page after install?
28 const char kHomePageChanged[] = "homepage_changed";
29
27 // Used to determine if the last session exited cleanly. Set to false when 30 // Used to determine if the last session exited cleanly. Set to false when
28 // first opened, and to true when closing. On startup if the value is false, 31 // first opened, and to true when closing. On startup if the value is false,
29 // it means the profile didn't exit cleanly. 32 // it means the profile didn't exit cleanly.
30 const char kSessionExitedCleanly[] = "profile.exited_cleanly"; 33 const char kSessionExitedCleanly[] = "profile.exited_cleanly";
31 34
32 // An integer pref. Holds one of several values: 35 // An integer pref. Holds one of several values:
33 // 0: (or empty) don't do anything special on startup. 36 // 0: (or empty) don't do anything special on startup.
34 // 1: restore the last session. 37 // 1: restore the last session.
35 // 2: this was used to indicate a specific session should be restored. It is 38 // 2: this was used to indicate a specific session should be restored. It is
36 // no longer used, but saved to avoid conflict with old preferences. 39 // no longer used, but saved to avoid conflict with old preferences.
(...skipping 1539 matching lines...) Expand 10 before | Expand all | Expand 10 after
1576 // specified. 1579 // specified.
1577 const char kCustomHandlersEnabled[] = "custom_handlers.enabled"; 1580 const char kCustomHandlersEnabled[] = "custom_handlers.enabled";
1578 1581
1579 // Integers that specify the policy refresh rate for device- and user-policy in 1582 // Integers that specify the policy refresh rate for device- and user-policy in
1580 // milliseconds. Not all values are meaningful, so it is clamped to a sane range 1583 // milliseconds. Not all values are meaningful, so it is clamped to a sane range
1581 // by the cloud policy subsystem. 1584 // by the cloud policy subsystem.
1582 const char kDevicePolicyRefreshRate[] = "policy.device_refresh_rate"; 1585 const char kDevicePolicyRefreshRate[] = "policy.device_refresh_rate";
1583 const char kUserPolicyRefreshRate[] = "policy.user_refresh_rate"; 1586 const char kUserPolicyRefreshRate[] = "policy.user_refresh_rate";
1584 1587
1585 } // namespace prefs 1588 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698