OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #include "base/macros.h" | 7 #include "base/macros.h" |
8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
9 #include "chrome/common/features.h" | 9 #include "chrome/common/features.h" |
10 #include "chrome/common/pref_font_webkit_names.h" | 10 #include "chrome/common/pref_font_webkit_names.h" |
(...skipping 1984 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1995 const char kResolveDeviceTimezoneByGeolocation[] = | 1995 const char kResolveDeviceTimezoneByGeolocation[] = |
1996 "settings.resolve_device_timezone_by_geolocation"; | 1996 "settings.resolve_device_timezone_by_geolocation"; |
1997 | 1997 |
1998 // This is policy-controlled preference. | 1998 // This is policy-controlled preference. |
1999 // It has values defined in policy enum | 1999 // It has values defined in policy enum |
2000 // SystemTimezoneAutomaticDetectionProto_AutomaticTimezoneDetectionType; | 2000 // SystemTimezoneAutomaticDetectionProto_AutomaticTimezoneDetectionType; |
2001 const char kSystemTimezoneAutomaticDetectionPolicy[] = | 2001 const char kSystemTimezoneAutomaticDetectionPolicy[] = |
2002 "settings.resolve_device_timezone_by_geolocation_policy"; | 2002 "settings.resolve_device_timezone_by_geolocation_policy"; |
2003 #endif // defined(OS_CHROMEOS) | 2003 #endif // defined(OS_CHROMEOS) |
2004 | 2004 |
2005 #if defined(ENABLE_MEDIA_ROUTER) | |
2006 // Pref name for the policy controlling whether to enable Media Router. | 2005 // Pref name for the policy controlling whether to enable Media Router. |
2007 const char kEnableMediaRouter[] = "media_router.enable_media_router"; | 2006 const char kEnableMediaRouter[] = "media_router.enable_media_router"; |
2008 #if !defined(OS_ANDROID) | 2007 #if !defined(OS_ANDROID) |
2009 // Pref name for the policy controlling whether to force the Cast icon to be | 2008 // Pref name for the policy controlling whether to force the Cast icon to be |
2010 // shown in the toolbar/overflow menu. | 2009 // shown in the toolbar/overflow menu. |
2011 const char kShowCastIconInToolbar[] = "media_router.show_cast_icon_in_toolbar"; | 2010 const char kShowCastIconInToolbar[] = "media_router.show_cast_icon_in_toolbar"; |
2012 #endif // !defined(OS_ANDROID) | 2011 #endif // !defined(OS_ANDROID) |
2013 #endif // defined(ENABLE_MEDIA_ROUTER) | |
2014 | 2012 |
2015 // *************** SERVICE PREFS *************** | 2013 // *************** SERVICE PREFS *************** |
2016 // These are attached to the service process. | 2014 // These are attached to the service process. |
2017 | 2015 |
2018 const char kCloudPrintRoot[] = "cloud_print"; | 2016 const char kCloudPrintRoot[] = "cloud_print"; |
2019 const char kCloudPrintProxyEnabled[] = "cloud_print.enabled"; | 2017 const char kCloudPrintProxyEnabled[] = "cloud_print.enabled"; |
2020 // The unique id for this instance of the cloud print proxy. | 2018 // The unique id for this instance of the cloud print proxy. |
2021 const char kCloudPrintProxyId[] = "cloud_print.proxy_id"; | 2019 const char kCloudPrintProxyId[] = "cloud_print.proxy_id"; |
2022 // The GAIA auth token for Cloud Print | 2020 // The GAIA auth token for Cloud Print |
2023 const char kCloudPrintAuthToken[] = "cloud_print.auth_token"; | 2021 const char kCloudPrintAuthToken[] = "cloud_print.auth_token"; |
(...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2343 #if defined(OS_ANDROID) | 2341 #if defined(OS_ANDROID) |
2344 // Whether the update menu item was clicked. Used to facilitate logging whether | 2342 // Whether the update menu item was clicked. Used to facilitate logging whether |
2345 // Chrome was updated after the menu item is clicked. | 2343 // Chrome was updated after the menu item is clicked. |
2346 const char kClickedUpdateMenuItem[] = "omaha.clicked_update_menu_item"; | 2344 const char kClickedUpdateMenuItem[] = "omaha.clicked_update_menu_item"; |
2347 // The latest version of Chrome available when the user clicked on the update | 2345 // The latest version of Chrome available when the user clicked on the update |
2348 // menu item. | 2346 // menu item. |
2349 const char kLatestVersionWhenClickedUpdateMenuItem[] = | 2347 const char kLatestVersionWhenClickedUpdateMenuItem[] = |
2350 "omaha.latest_version_when_clicked_upate_menu_item"; | 2348 "omaha.latest_version_when_clicked_upate_menu_item"; |
2351 #endif | 2349 #endif |
2352 | 2350 |
2353 #if defined(ENABLE_MEDIA_ROUTER) | |
2354 // Whether or not the user has explicitly set the cloud services preference | 2351 // Whether or not the user has explicitly set the cloud services preference |
2355 // through the first run flow. | 2352 // through the first run flow. |
2356 const char kMediaRouterCloudServicesPrefSet[] = | 2353 const char kMediaRouterCloudServicesPrefSet[] = |
2357 "media_router.cloudservices.prefset"; | 2354 "media_router.cloudservices.prefset"; |
2358 // Whether or not the user has enabled cloud services with Media Router. | 2355 // Whether or not the user has enabled cloud services with Media Router. |
2359 const char kMediaRouterEnableCloudServices[] = | 2356 const char kMediaRouterEnableCloudServices[] = |
2360 "media_router.cloudservices.enabled"; | 2357 "media_router.cloudservices.enabled"; |
2361 // Whether or not the Media Router first run flow has been acknowledged by the | 2358 // Whether or not the Media Router first run flow has been acknowledged by the |
2362 // user. | 2359 // user. |
2363 const char kMediaRouterFirstRunFlowAcknowledged[] = | 2360 const char kMediaRouterFirstRunFlowAcknowledged[] = |
2364 "media_router.firstrunflow.acknowledged"; | 2361 "media_router.firstrunflow.acknowledged"; |
2365 // A list of website origins on which the user has chosen to use tab mirroring. | 2362 // A list of website origins on which the user has chosen to use tab mirroring. |
2366 const char kMediaRouterTabMirroringSources[] = | 2363 const char kMediaRouterTabMirroringSources[] = |
2367 "media_router.tab_mirroring_sources"; | 2364 "media_router.tab_mirroring_sources"; |
2368 #endif | |
2369 | 2365 |
2370 // The base64-encoded representation of the public key to use to validate origin | 2366 // The base64-encoded representation of the public key to use to validate origin |
2371 // trial token signatures. | 2367 // trial token signatures. |
2372 const char kOriginTrialPublicKey[] = "origin_trials.public_key"; | 2368 const char kOriginTrialPublicKey[] = "origin_trials.public_key"; |
2373 | 2369 |
2374 // A list of origin trial features to disable by policy. | 2370 // A list of origin trial features to disable by policy. |
2375 const char kOriginTrialDisabledFeatures[] = "origin_trials.disabled_features"; | 2371 const char kOriginTrialDisabledFeatures[] = "origin_trials.disabled_features"; |
2376 | 2372 |
2377 // A list of origin trial tokens to disable by policy. | 2373 // A list of origin trial tokens to disable by policy. |
2378 const char kOriginTrialDisabledTokens[] = "origin_trials.disabled_tokens"; | 2374 const char kOriginTrialDisabledTokens[] = "origin_trials.disabled_tokens"; |
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2526 // settings. | 2522 // settings. |
2527 const char kSettingsResetPromptLastTriggeredForStartupUrls[] = | 2523 const char kSettingsResetPromptLastTriggeredForStartupUrls[] = |
2528 "settings_reset_prompt.last_triggered_for_startup_urls"; | 2524 "settings_reset_prompt.last_triggered_for_startup_urls"; |
2529 | 2525 |
2530 // Timestamp of the last time the settings reset prompt was shown during the | 2526 // Timestamp of the last time the settings reset prompt was shown during the |
2531 // current prompt wave asking the user if they want to restore their homepage. | 2527 // current prompt wave asking the user if they want to restore their homepage. |
2532 const char kSettingsResetPromptLastTriggeredForHomepage[] = | 2528 const char kSettingsResetPromptLastTriggeredForHomepage[] = |
2533 "settings_reset_prompt.last_triggered_for_homepage"; | 2529 "settings_reset_prompt.last_triggered_for_homepage"; |
2534 | 2530 |
2535 } // namespace prefs | 2531 } // namespace prefs |
OLD | NEW |