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

Side by Side Diff: ios/chrome/browser/pref_names.cc

Issue 2953083005: Implementing sign-in promo histograms for settings (Closed)
Patch Set: Adding "iSO only" Created 3 years, 5 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 | « ios/chrome/browser/pref_names.h ('k') | ios/chrome/browser/prefs/browser_prefs.mm » ('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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "ios/chrome/browser/pref_names.h" 5 #include "ios/chrome/browser/pref_names.h"
6 6
7 namespace prefs { 7 namespace prefs {
8 8
9 // The value to use for Accept-Languages HTTP header when making an HTTP 9 // The value to use for Accept-Languages HTTP header when making an HTTP
10 // request. 10 // request.
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 62
63 // Preference that hold a boolean indicating if the user has already dismissed 63 // Preference that hold a boolean indicating if the user has already dismissed
64 // the bookmark promo dialog. 64 // the bookmark promo dialog.
65 const char kIosBookmarkPromoAlreadySeen[] = "ios.bookmark.promo_already_seen"; 65 const char kIosBookmarkPromoAlreadySeen[] = "ios.bookmark.promo_already_seen";
66 66
67 // Integer to represent the number of time the sign-in promo has been displayed 67 // Integer to represent the number of time the sign-in promo has been displayed
68 // in the bookmark view. 68 // in the bookmark view.
69 const char kIosBookmarkSigninPromoDisplayedCount[] = 69 const char kIosBookmarkSigninPromoDisplayedCount[] =
70 "ios.bookmark.signin_promo_displayed_count"; 70 "ios.bookmark.signin_promo_displayed_count";
71 71
72 // Integer to represent the number of time the sign-in promo has been displayed
73 // in the settings view.
74 const char kIosSettingsSigninPromoDisplayedCount[] =
75 "ios.settings.signin_promo_displayed_count";
76
72 // Whether the user has enabled the Physical Web feature to surface URLs 77 // Whether the user has enabled the Physical Web feature to surface URLs
73 // broadcast by nearby devices. 78 // broadcast by nearby devices.
74 const char kIosPhysicalWebEnabled[] = "ios.physical_web_enabled"; 79 const char kIosPhysicalWebEnabled[] = "ios.physical_web_enabled";
75 80
76 // True if the previous session exited cleanly. 81 // True if the previous session exited cleanly.
77 // This can be different from kStabilityExitedCleanly, because the last run of 82 // This can be different from kStabilityExitedCleanly, because the last run of
78 // the program may not have included a browsing session, and thus the last run 83 // the program may not have included a browsing session, and thus the last run
79 // of the program may have happened after the run that included the last 84 // of the program may have happened after the run that included the last
80 // session. 85 // session.
81 const char kLastSessionExitedCleanly[] = 86 const char kLastSessionExitedCleanly[] =
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 172
168 // True if the user is eligible to recieve "desktop to iOS" promotion. 173 // True if the user is eligible to recieve "desktop to iOS" promotion.
169 const char kDesktopIOSPromotionEligible[] = "ios.desktoptomobileeligible"; 174 const char kDesktopIOSPromotionEligible[] = "ios.desktoptomobileeligible";
170 175
171 // Integer that represents which variation of title and text of the 176 // Integer that represents which variation of title and text of the
172 // "desktop to iOS" promotion was presented to the user on desktop. 177 // "desktop to iOS" promotion was presented to the user on desktop.
173 const char kDesktopIOSPromotionVariationId[] = 178 const char kDesktopIOSPromotionVariationId[] =
174 "ios.desktop_ios_promo_variation_id"; 179 "ios.desktop_ios_promo_variation_id";
175 180
176 } // namespace prefs 181 } // namespace prefs
OLDNEW
« no previous file with comments | « ios/chrome/browser/pref_names.h ('k') | ios/chrome/browser/prefs/browser_prefs.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698