Commit d73f88ee authored by thestig@chromium.org's avatar thestig@chromium.org

Add an #ifdef for a ChromeOS-only resource in WebUI.

BUG=333201

Review URL: https://codereview.chromium.org/446063006

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287992 0039d316-1c4b-4281-b951-d872f2087c98
parent 11abe293
......@@ -1005,8 +1005,10 @@ void AboutUIHTMLSource::StartDataRequest(
int idr = IDR_CREDITS_HTML;
if (path == kCreditsJsPath)
idr = IDR_CREDITS_JS;
#if defined(OS_CHROMEOS)
else if (path == kKeyboardUtilsPath)
idr = IDR_KEYBOARD_UTILS_JS;
#endif
response = ResourceBundle::GetSharedInstance().GetRawDataResource(
idr).as_string();
......
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