Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3883)

Unified Diff: chrome/browser/ui/webui/chromeos/image_source.cc

Issue 680393002: Alt text for About UI product label (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/webui/chromeos/image_source.cc
diff --git a/chrome/browser/ui/webui/chromeos/image_source.cc b/chrome/browser/ui/webui/chromeos/image_source.cc
index dca32771845d1bc751ecf66e19c4d950b2952641..726e9f6e371ff133ecb85c3cd13edbcc3c20c635 100644
--- a/chrome/browser/ui/webui/chromeos/image_source.cc
+++ b/chrome/browser/ui/webui/chromeos/image_source.cc
@@ -21,7 +21,7 @@ namespace chromeos {
namespace {
const char* kWhitelistedFiles[] = {
- "fcc.png"
+ "fcc/label.png"
};
} // namespace
@@ -38,7 +38,7 @@ ImageSource::~ImageSource() {
}
std::string ImageSource::GetSource() const {
- return chrome::kChromeUILocalImageHost;
+ return chrome::kChromeOSAssetHost;
}
void ImageSource::StartDataRequest(
@@ -71,7 +71,7 @@ void ImageSource::StartOnFileThread(
const content::URLDataSource::GotDataCallback& callback) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE));
- base::FilePath file_path(chrome::kChromeUILocalImagePath + path);
+ base::FilePath file_path(chrome::kChromeOSAssetPath + path);
if (!base::PathExists(file_path)) {
callback.Run(NULL);
return;

Powered by Google App Engine
This is Rietveld 408576698