OLD | NEW |
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2009 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 namespace prefs { | 7 namespace prefs { |
8 | 8 |
9 // *************** PROFILE PREFS *************** | 9 // *************** PROFILE PREFS *************** |
10 // These are attached to the user profile | 10 // These are attached to the user profile |
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
266 const wchar_t kCheckDefaultBrowser[] = L"browser.check_default_browser"; | 266 const wchar_t kCheckDefaultBrowser[] = L"browser.check_default_browser"; |
267 | 267 |
268 // Boolean that is false if we should show window manager decorations. If | 268 // Boolean that is false if we should show window manager decorations. If |
269 // true, we draw a custom chrome frame (thicker title bar and blue border). | 269 // true, we draw a custom chrome frame (thicker title bar and blue border). |
270 const wchar_t kUseCustomChromeFrame[] = L"browser.custom_chrome_frame"; | 270 const wchar_t kUseCustomChromeFrame[] = L"browser.custom_chrome_frame"; |
271 | 271 |
272 // Boolean that indicates whether the infobar explaining that search can be done | 272 // Boolean that indicates whether the infobar explaining that search can be done |
273 // directly from the omnibox should be shown. | 273 // directly from the omnibox should be shown. |
274 const wchar_t kShowOmniboxSearchHint[] = L"browser.show_omnibox_search_hint"; | 274 const wchar_t kShowOmniboxSearchHint[] = L"browser.show_omnibox_search_hint"; |
275 | 275 |
| 276 // Integer that counts the number of times the theme promo has left to be |
| 277 // shown; this decrements each time the NTP is shown for the first time |
| 278 // in a session. |
| 279 const wchar_t kNTPThemePromoRemaining[] = L"browser.ntp.theme_promo_remaining"; |
| 280 |
276 // *************** LOCAL STATE *************** | 281 // *************** LOCAL STATE *************** |
277 // These are attached to the machine/installation | 282 // These are attached to the machine/installation |
278 | 283 |
279 // The metrics client GUID and session ID. | 284 // The metrics client GUID and session ID. |
280 const wchar_t kMetricsClientID[] = L"user_experience_metrics.client_id"; | 285 const wchar_t kMetricsClientID[] = L"user_experience_metrics.client_id"; |
281 const wchar_t kMetricsSessionID[] = L"user_experience_metrics.session_id"; | 286 const wchar_t kMetricsSessionID[] = L"user_experience_metrics.session_id"; |
282 | 287 |
283 // Date/time when the current metrics profile ID was created | 288 // Date/time when the current metrics profile ID was created |
284 // (which hopefully corresponds to first run). | 289 // (which hopefully corresponds to first run). |
285 const wchar_t kMetricsClientIDTimestamp[] = | 290 const wchar_t kMetricsClientIDTimestamp[] = |
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
569 // Integer location of the split bar in the browser view. | 574 // Integer location of the split bar in the browser view. |
570 const wchar_t kDevToolsSplitLocation[] = L"devtools.split_location"; | 575 const wchar_t kDevToolsSplitLocation[] = L"devtools.split_location"; |
571 | 576 |
572 // 64-bit integer serialization of the base::Time when the last sync occured. | 577 // 64-bit integer serialization of the base::Time when the last sync occured. |
573 const wchar_t kSyncLastSyncedTime[] = L"sync.last_synced_time"; | 578 const wchar_t kSyncLastSyncedTime[] = L"sync.last_synced_time"; |
574 | 579 |
575 // Boolean specifying whether the user finished setting up sync. | 580 // Boolean specifying whether the user finished setting up sync. |
576 const wchar_t kSyncHasSetupCompleted[] = L"sync.has_setup_completed"; | 581 const wchar_t kSyncHasSetupCompleted[] = L"sync.has_setup_completed"; |
577 | 582 |
578 } // namespace prefs | 583 } // namespace prefs |
OLD | NEW |