OLD | NEW |
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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 // Prefs for persisting HttpServerProperties. | 57 // Prefs for persisting HttpServerProperties. |
58 const char kHttpServerProperties[] = "net.http_server_properties"; | 58 const char kHttpServerProperties[] = "net.http_server_properties"; |
59 | 59 |
60 // Preference that keep information about where to create a new bookmark. | 60 // Preference that keep information about where to create a new bookmark. |
61 const char kIosBookmarkFolderDefault[] = "ios.bookmark.default_folder"; | 61 const char kIosBookmarkFolderDefault[] = "ios.bookmark.default_folder"; |
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 |
| 68 // in the bookmark view. |
| 69 const char kIosBookmarkSigninPromoDisplayedCount[] = |
| 70 "ios.bookmark.signin_promo_displayed_count"; |
| 71 |
67 // Whether the user has enabled the Physical Web feature to surface URLs | 72 // Whether the user has enabled the Physical Web feature to surface URLs |
68 // broadcast by nearby devices. | 73 // broadcast by nearby devices. |
69 const char kIosPhysicalWebEnabled[] = "ios.physical_web_enabled"; | 74 const char kIosPhysicalWebEnabled[] = "ios.physical_web_enabled"; |
70 | 75 |
71 // True if the previous session exited cleanly. | 76 // True if the previous session exited cleanly. |
72 // This can be different from kStabilityExitedCleanly, because the last run of | 77 // This can be different from kStabilityExitedCleanly, because the last run of |
73 // the program may not have included a browsing session, and thus the last run | 78 // the program may not have included a browsing session, and thus the last run |
74 // of the program may have happened after the run that included the last | 79 // of the program may have happened after the run that included the last |
75 // session. | 80 // session. |
76 const char kLastSessionExitedCleanly[] = | 81 const char kLastSessionExitedCleanly[] = |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 | 167 |
163 // True if the user is eligible to recieve "desktop to iOS" promotion. | 168 // True if the user is eligible to recieve "desktop to iOS" promotion. |
164 const char kDesktopIOSPromotionEligible[] = "ios.desktoptomobileeligible"; | 169 const char kDesktopIOSPromotionEligible[] = "ios.desktoptomobileeligible"; |
165 | 170 |
166 // Integer that represents which variation of title and text of the | 171 // Integer that represents which variation of title and text of the |
167 // "desktop to iOS" promotion was presented to the user on desktop. | 172 // "desktop to iOS" promotion was presented to the user on desktop. |
168 const char kDesktopIOSPromotionVariationId[] = | 173 const char kDesktopIOSPromotionVariationId[] = |
169 "ios.desktop_ios_promo_variation_id"; | 174 "ios.desktop_ios_promo_variation_id"; |
170 | 175 |
171 } // namespace prefs | 176 } // namespace prefs |
OLD | NEW |