// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/common/url_constants.h" namespace chrome { const char kAccessibilityLabelsLearnMoreURL[] = "https://support.google.com/chrome/?p=image_descriptions"; const char kAutomaticSettingsResetLearnMoreURL[] = "https://support.google.com/chrome/?p=ui_automatic_settings_reset"; const char kBluetoothAdapterOffHelpURL[] = #if defined(OS_CHROMEOS) "chrome://settings/?search=bluetooth"; #else "https://support.google.com/chrome?p=bluetooth"; #endif const char kCastCloudServicesHelpURL[] = "https://support.google.com/chromecast/?p=casting_cloud_services"; const char kCastNoDestinationFoundURL[] = "https://support.google.com/chromecast/?p=no_cast_destination"; const char kChooserBluetoothOverviewURL[] = "https://support.google.com/chrome?p=bluetooth"; const char kChooserUsbOverviewURL[] = "https://support.google.com/chrome?p=webusb"; const char kChromeBetaForumURL[] = "https://support.google.com/chrome/?p=beta_forum"; const char kChromeHelpViaKeyboardURL[] = #if defined(OS_CHROMEOS) #if defined(GOOGLE_CHROME_BUILD) "chrome-extension://honijodknafkokifofgiaalefdiedpko/main.html"; #else "https://support.google.com/chromebook/?p=help&ctx=keyboard"; #endif // defined(GOOGLE_CHROME_BUILD) #else "https://support.google.com/chrome/?p=help&ctx=keyboard"; #endif // defined(OS_CHROMEOS) const char kChromeHelpViaMenuURL[] = #if defined(OS_CHROMEOS) #if defined(GOOGLE_CHROME_BUILD) "chrome-extension://honijodknafkokifofgiaalefdiedpko/main.html"; #else "https://support.google.com/chromebook/?p=help&ctx=menu"; #endif // defined(GOOGLE_CHROME_BUILD) #else "https://support.google.com/chrome/?p=help&ctx=menu"; #endif // defined(OS_CHROMEOS) const char kChromeHelpViaWebUIURL[] = #if defined(OS_CHROMEOS) #if defined(GOOGLE_CHROME_BUILD) "chrome-extension://honijodknafkokifofgiaalefdiedpko/main.html"; #else "https://support.google.com/chromebook/?p=help&ctx=settings"; #endif // defined(GOOGLE_CHROME_BUILD) #else "https://support.google.com/chrome/?p=help&ctx=settings"; #endif // defined(OS_CHROMEOS) const char kChromeNativeScheme[] = "chrome-native"; const char kChromeSearchLocalNtpHost[] = "local-ntp"; const char kChromeSearchLocalNtpUrl[] = "chrome-search://local-ntp/local-ntp.html"; const char kChromeSearchMostVisitedHost[] = "most-visited"; const char kChromeSearchMostVisitedUrl[] = "chrome-search://most-visited/"; const char kChromeSearchLocalNtpBackgroundUrl[] = "chrome-search://local-ntp/background.jpg"; const char kChromeSearchLocalNtpBackgroundFilename[] = "background.jpg"; const char kChromeSearchRemoteNtpHost[] = "remote-ntp"; const char kChromeSearchScheme[] = "chrome-search"; const char kChromiumProjectURL[] = "https://www.chromium.org/"; const char kCloudPrintLearnMoreURL[] = #if defined(OS_CHROMEOS) "https://support.google.com/chromebook/?p=settings_cloud_print"; #else "https://support.google.com/chrome/?p=settings_cloud_print"; #endif const char kCloudPrintCertificateErrorLearnMoreURL[] = #if defined(OS_CHROMEOS) "https://support.google.com/chromebook?p=cloudprint_error_troubleshoot"; #elif defined(OS_MACOSX) "https://support.google.com/cloudprint?p=cloudprint_error_offline_mac"; #elif defined(OS_WIN) "https://support.google.com/" "cloudprint?p=cloudprint_error_offline_windows"; #else "https://support.google.com/" "cloudprint?p=cloudprint_error_offline_linux"; #endif const char kContentSettingsExceptionsLearnMoreURL[] = "https://support.google.com/chrome/?p=settings_manage_exceptions"; const char kCrashReasonURL[] = #if defined(OS_CHROMEOS) "https://support.google.com/chromebook/?p=e_awsnap"; #else "https://support.google.com/chrome/?p=e_awsnap"; #endif const char kCrashReasonFeedbackDisplayedURL[] = #if defined(OS_CHROMEOS) "https://support.google.com/chromebook/?p=e_awsnap_rl"; #else "https://support.google.com/chrome/?p=e_awsnap_rl"; #endif const char kDoNotTrackLearnMoreURL[] = #if defined(OS_CHROMEOS) "https://support.google.com/chromebook/?p=settings_do_not_track"; #else "https://support.google.com/chrome/?p=settings_do_not_track"; #endif const char kDownloadInterruptedLearnMoreURL[] = "https://support.google.com/chrome/?p=ui_download_errors"; const char kDownloadScanningLearnMoreURL[] = "https://support.google.com/chrome/?p=ib_download_blocked"; const char kExtensionControlledSettingLearnMoreURL[] = "https://support.google.com/chrome/?p=ui_settings_api_extension"; const char kExtensionInvalidRequestURL[] = "chrome-extension://invalid/"; const char kGoogleAccountActivityControlsURL[] = "https://myaccount.google.com/activitycontrols/search"; const char kGoogleAccountURL[] = "https://myaccount.google.com"; const char kGoogleAccountChooserURL[] = "https://accounts.google.com/AccountChooser"; const char kGooglePasswordManagerURL[] = "https://passwords.google.com"; const char kLearnMoreReportingURL[] = "https://support.google.com/chrome/?p=ui_usagestat"; const char kLegacySupervisedUserManagementDisplayURL[] = "www.chrome.com/manage"; const char kLegacySupervisedUserManagementURL[] = "https://www.chrome.com/manage"; const char kManagedUiLearnMoreUrl[] = #if defined(OS_CHROMEOS) "https://support.google.com/chromebook/?p=is_chrome_managed"; #else "https://support.google.com/chrome/?p=is_chrome_managed"; #endif const char kMyActivityUrlInClearBrowsingData[] = "https://myactivity.google.com/myactivity/?utm_source=chrome_cbd"; const char kOmniboxLearnMoreURL[] = #if defined(OS_CHROMEOS) "https://support.google.com/chromebook/?p=settings_omnibox"; #else "https://support.google.com/chrome/?p=settings_omnibox"; #endif const char kPageInfoHelpCenterURL[] = #if defined(OS_CHROMEOS) "https://support.google.com/chromebook/?p=ui_security_indicator"; #else "https://support.google.com/chrome/?p=ui_security_indicator"; #endif const char kPasswordManagerLearnMoreURL[] = #if defined(OS_CHROMEOS) "https://support.google.com/chromebook/?p=settings_password"; #else "https://support.google.com/chrome/?p=settings_password"; #endif const char kPaymentMethodsURL[] = "https://pay.google.com/payments/" "home?utm_source=chrome&utm_medium=settings&utm_campaign=chrome-payment#" "paymentMethods"; const char kPaymentMethodsLearnMoreURL[] = #if defined(OS_CHROMEOS) "https://support.google.com/chromebook/answer/" "142893?visit_id=636857416902558798-696405304&p=settings_autofill&rd=1"; #else "https://support.google.com/chrome/answer/" "142893?visit_id=636857416902558798-696405304&p=settings_autofill&rd=1"; #endif const char kPrivacyLearnMoreURL[] = #if defined(OS_CHROMEOS) "https://support.google.com/chromebook/?p=settings_privacy"; #else "https://support.google.com/chrome/?p=settings_privacy"; #endif const char kRemoveNonCWSExtensionURL[] = "https://support.google.com/chrome/?p=ui_remove_non_cws_extensions"; const char kResetProfileSettingsLearnMoreURL[] = "https://support.google.com/chrome/?p=ui_reset_settings"; const char kSettingsSearchHelpURL[] = #if defined(OS_CHROMEOS) "https://support.google.com/chromebook/?p=settings_search_help"; #else "https://support.google.com/chrome/?p=settings_search_help"; #endif const char kSyncAndGoogleServicesLearnMoreURL[] = "https://support.google.com/chrome?p=syncgoogleservices"; const char kSyncEncryptionHelpURL[] = #if defined(OS_CHROMEOS) "https://support.google.com/chromebook/?p=settings_encryption"; #else "https://support.google.com/chrome/?p=settings_encryption"; #endif const char kSyncErrorsHelpURL[] = "https://support.google.com/chrome/?p=settings_sync_error"; const char kSyncGoogleDashboardURL[] = "https://www.google.com/settings/chrome/sync/"; const char kSyncLearnMoreURL[] = "https://support.google.com/chrome/?p=settings_sign_in"; const char kUpgradeHelpCenterBaseURL[] = "https://support.google.com/installer/?product=" "{8A69D345-D564-463c-AFF1-A69D9E530F96}&error="; #if defined(OS_ANDROID) const char kAndroidAppScheme[] = "android-app"; #endif #if defined(OS_CHROMEOS) || defined(OS_ANDROID) const char kEnhancedPlaybackNotificationLearnMoreURL[] = #endif #if defined(OS_CHROMEOS) "https://support.google.com/chromebook/?p=enhanced_playback"; #elif defined(OS_ANDROID) // Keep in sync with chrome/android/java/strings/android_chrome_strings.grd "https://support.google.com/chrome/?p=mobile_protected_content"; #endif #if defined(OS_CHROMEOS) const char kAndroidAppsLearnMoreURL[] = "https://support.google.com/chromebook/?p=playapps"; const char kChromeAccessibilityHelpURL[] = "https://support.google.com/chromebook/topic/6323347"; const char kChromeOSAssetHost[] = "chromeos-asset"; const char kChromeOSAssetPath[] = "/usr/share/chromeos-assets/"; const char kChromeOSCreditsPath[] = "/opt/google/chrome/resources/about_os_credits.html"; const char kChromePaletteHelpURL[] = "https://support.google.com/chromebook?p=stylus_help"; const char kCrosScheme[] = "cros"; const char kCupsPrintLearnMoreURL[] = "https://support.google.com/chromebook?p=chromebook_printing"; const char kEasyUnlockLearnMoreUrl[] = "https://support.google.com/chromebook/?p=smart_lock"; const char kEULAPathFormat[] = "/usr/share/chromeos-assets/eula/%s/eula.html"; const char kArcTermsPathFormat[] = "arc_tos/%s/terms.html"; const char kArcPrivacyPolicyPathFormat[] = "arc_tos/%s/privacy_policy.pdf"; const char kEolNotificationURL[] = "https://www.google.com/chromebook/older/"; const char kGoogleNameserversLearnMoreURL[] = "https://developers.google.com/speed/public-dns"; const char kInstantTetheringLearnMoreURL[] = "https://support.google.com/chromebook?p=instant_tethering"; const char kMultiDeviceLearnMoreURL[] = "https://support.google.com/chromebook/?p=multi_device"; const char kAndroidMessagesLearnMoreURL[] = "https://support.google.com/chromebook/?p=multi_device_messages"; const char kLanguageSettingsLearnMoreUrl[] = "https://support.google.com/chromebook/answer/1059490"; const char kLearnMoreEnterpriseURL[] = "https://support.google.com/chromebook/?p=managed"; const char kLinuxAppsLearnMoreURL[] = "https://support.google.com/chromebook?p=chromebook_linuxapps"; const char kLinuxCreditsPath[] = "/opt/google/chrome/resources/linux_credits.html"; const char kNaturalScrollHelpURL[] = "https://support.google.com/chromebook/?p=simple_scrolling"; const char kOemEulaURLPath[] = "oem"; const char kArcTermsURLPath[] = "arc/terms"; const char kArcPrivacyPolicyURLPath[] = "arc/privacy_policy"; const char kOnlineEulaURLPath[] = "https://www.google.com/intl/%s/chrome/eula_text.html"; const char kTPMFirmwareUpdateLearnMoreURL[] = "https://support.google.com/chromebook/?p=tpm_update"; const char kTimeZoneSettingsLearnMoreURL[] = "https://support.google.com/chromebook?p=chromebook_timezone&hl=%s"; const char kSmbSharesLearnMoreURL[] = "https://support.google.com/chromebook?p=network_file_shares"; #endif // defined(OS_CHROMEOS) #if defined(OS_MACOSX) const char kChromeEnterpriseSignInLearnMoreURL[] = "https://support.google.com/chromebook/answer/1331549"; const char kMac10_9_ObsoleteURL[] = "https://support.google.com/chrome/?p=unsupported_mac"; #endif #if defined(OS_WIN) const char kChromeCleanerLearnMoreURL[] = "https://support.google.com/chrome/?p=chrome_cleanup_tool"; const char kWindowsXPVistaDeprecationURL[] = "https://chrome.blogspot.com/2015/11/updates-to-chrome-platform-support.html"; #endif #if BUILDFLAG(ENABLE_ONE_CLICK_SIGNIN) const char kChromeSyncLearnMoreURL[] = "https://support.google.com/chrome/answer/165139"; #endif // BUILDFLAG(ENABLE_ONE_CLICK_SIGNIN) #if BUILDFLAG(ENABLE_PLUGINS) const char kBlockedPluginLearnMoreURL[] = "https://support.google.com/chrome/?p=ib_blocked_plugin"; const char kOutdatedPluginLearnMoreURL[] = "https://support.google.com/chrome/?p=ib_outdated_plugin"; #endif } // namespace chrome