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

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

Issue 8093016: Show sync promo at startup (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix build error Created 9 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 | Annotate | Revision Log
« no previous file with comments | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
(...skipping 1100 matching lines...) Expand 10 before | Expand all | Expand 10 after
1111 1111
1112 // The mere fact that this pref is registered signals that we should show the 1112 // The mere fact that this pref is registered signals that we should show the
1113 // minimal First Run omnibox information bubble when the first 1113 // minimal First Run omnibox information bubble when the first
1114 // browser window appears. 1114 // browser window appears.
1115 // This preference is only registered by the first-run procedure. 1115 // This preference is only registered by the first-run procedure.
1116 const char kShouldUseMinimalFirstRunBubble[] = "show-minimal-first-run-bubble"; 1116 const char kShouldUseMinimalFirstRunBubble[] = "show-minimal-first-run-bubble";
1117 1117
1118 // Signal that we should show the welcome page when we launch Chrome. 1118 // Signal that we should show the welcome page when we launch Chrome.
1119 const char kShouldShowWelcomePage[] = "show-welcome-page"; 1119 const char kShouldShowWelcomePage[] = "show-welcome-page";
1120 1120
1121 // Tracks the number of times that we have shown the sync promo at startup.
1122 const char kSyncPromoStartupCount[] = "sync-promo-startup-count";
1123
1121 // String containing the last known Google URL. We re-detect this on startup in 1124 // String containing the last known Google URL. We re-detect this on startup in
1122 // most cases, and use it to send traffic to the correct Google host or with the 1125 // most cases, and use it to send traffic to the correct Google host or with the
1123 // correct Google domain/country code for whatever location the user is in. 1126 // correct Google domain/country code for whatever location the user is in.
1124 const char kLastKnownGoogleURL[] = "browser.last_known_google_url"; 1127 const char kLastKnownGoogleURL[] = "browser.last_known_google_url";
1125 1128
1126 // String containing the last prompted Google URL to the user. 1129 // String containing the last prompted Google URL to the user.
1127 // If the user is using .x TLD for Google URL and gets prompted about .y TLD 1130 // If the user is using .x TLD for Google URL and gets prompted about .y TLD
1128 // for Google URL, and says "no", we should leave the search engine set to .x 1131 // for Google URL, and says "no", we should leave the search engine set to .x
1129 // but not prompt again until the domain changes away from .y. 1132 // but not prompt again until the domain changes away from .y.
1130 const char kLastPromptedGoogleURL[] = "browser.last_prompted_google_url"; 1133 const char kLastPromptedGoogleURL[] = "browser.last_prompted_google_url";
(...skipping 449 matching lines...) Expand 10 before | Expand all | Expand 10 after
1580 // specified. 1583 // specified.
1581 const char kCustomHandlersEnabled[] = "custom_handlers.enabled"; 1584 const char kCustomHandlersEnabled[] = "custom_handlers.enabled";
1582 1585
1583 // Integers that specify the policy refresh rate for device- and user-policy in 1586 // Integers that specify the policy refresh rate for device- and user-policy in
1584 // milliseconds. Not all values are meaningful, so it is clamped to a sane range 1587 // milliseconds. Not all values are meaningful, so it is clamped to a sane range
1585 // by the cloud policy subsystem. 1588 // by the cloud policy subsystem.
1586 const char kDevicePolicyRefreshRate[] = "policy.device_refresh_rate"; 1589 const char kDevicePolicyRefreshRate[] = "policy.device_refresh_rate";
1587 const char kUserPolicyRefreshRate[] = "policy.user_refresh_rate"; 1590 const char kUserPolicyRefreshRate[] = "policy.user_refresh_rate";
1588 1591
1589 } // namespace prefs 1592 } // namespace prefs
OLDNEW
« no previous file with comments | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698