Commit 88d101dc authored by nbishop's avatar nbishop Committed by Commit bot

Only show the genius app in Google-branded builds

The three chrome help URL constants incorrectly used OFFICIAL_BUILD
for a feature that should only be in Google-branded builds.

BUG=none
TEST=Build browser with is_official_build=true and target_os=chromeos. Click the help button in the system menu, verify it shows a support.google.com URL instead of the genius app.

Review-Url: https://codereview.chromium.org/2825513002
Cr-Commit-Position: refs/heads/master@{#465715}
parent 734e5ee3
......@@ -425,33 +425,33 @@ const char kExtensionControlledSettingLearnMoreURL[] =
const char kChromeHelpViaKeyboardURL[] =
#if defined(OS_CHROMEOS)
#if defined(OFFICIAL_BUILD)
#if defined(GOOGLE_CHROME_BUILD)
"chrome-extension://honijodknafkokifofgiaalefdiedpko/main.html";
#else
"https://support.google.com/chromebook/?p=help&ctx=keyboard";
#endif // defined(OFFICIAL_BUILD
#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(OFFICIAL_BUILD)
#if defined(GOOGLE_CHROME_BUILD)
"chrome-extension://honijodknafkokifofgiaalefdiedpko/main.html";
#else
"https://support.google.com/chromebook/?p=help&ctx=menu";
#endif // defined(OFFICIAL_BUILD
#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(OFFICIAL_BUILD)
#if defined(GOOGLE_CHROME_BUILD)
"chrome-extension://honijodknafkokifofgiaalefdiedpko/main.html";
#else
"https://support.google.com/chromebook/?p=help&ctx=settings";
#endif // defined(OFFICIAL_BUILD
#endif // defined(GOOGLE_CHROME_BUILD
#else
"https://support.google.com/chrome/?p=help&ctx=settings";
#endif // defined(OS_CHROMEOS)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment