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 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
274 | 274 |
275 // Boolean that indicates whether the infobar explaining that search can be done | 275 // Boolean that indicates whether the infobar explaining that search can be done |
276 // directly from the omnibox should be shown. | 276 // directly from the omnibox should be shown. |
277 const wchar_t kShowOmniboxSearchHint[] = L"browser.show_omnibox_search_hint"; | 277 const wchar_t kShowOmniboxSearchHint[] = L"browser.show_omnibox_search_hint"; |
278 | 278 |
279 // Integer that counts the number of times the theme promo has left to be | 279 // Integer that counts the number of times the theme promo has left to be |
280 // shown; this decrements each time the NTP is shown for the first time | 280 // shown; this decrements each time the NTP is shown for the first time |
281 // in a session. | 281 // in a session. |
282 const wchar_t kNTPThemePromoRemaining[] = L"browser.ntp.theme_promo_remaining"; | 282 const wchar_t kNTPThemePromoRemaining[] = L"browser.ntp.theme_promo_remaining"; |
283 | 283 |
| 284 // The list of origins which are allowed|denied to show desktop notifications. |
| 285 const wchar_t kDesktopNotificationAllowedOrigins[] = |
| 286 L"profile.notification_allowed_sites"; |
| 287 const wchar_t kDesktopNotificationDeniedOrigins[] = |
| 288 L"profile.notification_denied_sites"; |
| 289 |
284 // *************** LOCAL STATE *************** | 290 // *************** LOCAL STATE *************** |
285 // These are attached to the machine/installation | 291 // These are attached to the machine/installation |
286 | 292 |
287 // The metrics client GUID and session ID. | 293 // The metrics client GUID and session ID. |
288 const wchar_t kMetricsClientID[] = L"user_experience_metrics.client_id"; | 294 const wchar_t kMetricsClientID[] = L"user_experience_metrics.client_id"; |
289 const wchar_t kMetricsSessionID[] = L"user_experience_metrics.session_id"; | 295 const wchar_t kMetricsSessionID[] = L"user_experience_metrics.session_id"; |
290 | 296 |
291 // Date/time when the current metrics profile ID was created | 297 // Date/time when the current metrics profile ID was created |
292 // (which hopefully corresponds to first run). | 298 // (which hopefully corresponds to first run). |
293 const wchar_t kMetricsClientIDTimestamp[] = | 299 const wchar_t kMetricsClientIDTimestamp[] = |
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
577 // Integer location of the split bar in the browser view. | 583 // Integer location of the split bar in the browser view. |
578 const wchar_t kDevToolsSplitLocation[] = L"devtools.split_location"; | 584 const wchar_t kDevToolsSplitLocation[] = L"devtools.split_location"; |
579 | 585 |
580 // 64-bit integer serialization of the base::Time when the last sync occured. | 586 // 64-bit integer serialization of the base::Time when the last sync occured. |
581 const wchar_t kSyncLastSyncedTime[] = L"sync.last_synced_time"; | 587 const wchar_t kSyncLastSyncedTime[] = L"sync.last_synced_time"; |
582 | 588 |
583 // Boolean specifying whether the user finished setting up sync. | 589 // Boolean specifying whether the user finished setting up sync. |
584 const wchar_t kSyncHasSetupCompleted[] = L"sync.has_setup_completed"; | 590 const wchar_t kSyncHasSetupCompleted[] = L"sync.has_setup_completed"; |
585 | 591 |
586 } // namespace prefs | 592 } // namespace prefs |
OLD | NEW |