| OLD | NEW |
| 1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 |
| 11 | 11 |
| (...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 287 // image, so we store two separate values for number of remaining views. | 287 // image, so we store two separate values for number of remaining views. |
| 288 const wchar_t kNTPPromoLineRemaining[] = L"browser.ntp.promo_line_remaining"; | 288 const wchar_t kNTPPromoLineRemaining[] = L"browser.ntp.promo_line_remaining"; |
| 289 const wchar_t kNTPPromoImageRemaining[] = L"browser.ntp.promo_image_remaining"; | 289 const wchar_t kNTPPromoImageRemaining[] = L"browser.ntp.promo_image_remaining"; |
| 290 | 290 |
| 291 // The list of origins which are allowed|denied to show desktop notifications. | 291 // The list of origins which are allowed|denied to show desktop notifications. |
| 292 const wchar_t kDesktopNotificationAllowedOrigins[] = | 292 const wchar_t kDesktopNotificationAllowedOrigins[] = |
| 293 L"profile.notification_allowed_sites"; | 293 L"profile.notification_allowed_sites"; |
| 294 const wchar_t kDesktopNotificationDeniedOrigins[] = | 294 const wchar_t kDesktopNotificationDeniedOrigins[] = |
| 295 L"profile.notification_denied_sites"; | 295 L"profile.notification_denied_sites"; |
| 296 | 296 |
| 297 // Dictionary that maps hostnames to zoom levels. Hosts not in this pref will |
| 298 // be displayed at the default zoom level. |
| 299 const wchar_t kPerHostZoomLevels[] = L"profile.per_host_zoom_levels"; |
| 300 |
| 297 // *************** LOCAL STATE *************** | 301 // *************** LOCAL STATE *************** |
| 298 // These are attached to the machine/installation | 302 // These are attached to the machine/installation |
| 299 | 303 |
| 300 // The metrics client GUID and session ID. | 304 // The metrics client GUID and session ID. |
| 301 const wchar_t kMetricsClientID[] = L"user_experience_metrics.client_id"; | 305 const wchar_t kMetricsClientID[] = L"user_experience_metrics.client_id"; |
| 302 const wchar_t kMetricsSessionID[] = L"user_experience_metrics.session_id"; | 306 const wchar_t kMetricsSessionID[] = L"user_experience_metrics.session_id"; |
| 303 | 307 |
| 304 // Date/time when the current metrics profile ID was created | 308 // Date/time when the current metrics profile ID was created |
| 305 // (which hopefully corresponds to first run). | 309 // (which hopefully corresponds to first run). |
| 306 const wchar_t kMetricsClientIDTimestamp[] = | 310 const wchar_t kMetricsClientIDTimestamp[] = |
| (...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 590 const wchar_t kSyncHasSetupCompleted[] = L"sync.has_setup_completed"; | 594 const wchar_t kSyncHasSetupCompleted[] = L"sync.has_setup_completed"; |
| 591 | 595 |
| 592 // Create web application shortcut dialog preferences. | 596 // Create web application shortcut dialog preferences. |
| 593 const wchar_t kWebAppCreateOnDesktop[] = L"browser.web_app.create_on_desktop"; | 597 const wchar_t kWebAppCreateOnDesktop[] = L"browser.web_app.create_on_desktop"; |
| 594 const wchar_t kWebAppCreateInAppsMenu[] = | 598 const wchar_t kWebAppCreateInAppsMenu[] = |
| 595 L"browser.web_app.create_in_apps_menu"; | 599 L"browser.web_app.create_in_apps_menu"; |
| 596 const wchar_t kWebAppCreateInQuickLaunchBar[] = | 600 const wchar_t kWebAppCreateInQuickLaunchBar[] = |
| 597 L"browser.web_app.create_in_quick_launch_bar"; | 601 L"browser.web_app.create_in_quick_launch_bar"; |
| 598 | 602 |
| 599 } // namespace prefs | 603 } // namespace prefs |
| OLD | NEW |