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

Unified Diff: chrome/browser/extensions/component_loader.cc

Issue 23516013: Add the app name for genius app. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 3 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
« no previous file with comments | « chrome/app/chromeos_strings.grdp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/component_loader.cc
diff --git a/chrome/browser/extensions/component_loader.cc b/chrome/browser/extensions/component_loader.cc
index ed41f82db3c0c5b4e90876e24617128d82be3047..50518a8019fe0776abe1f7a00318be5e231f4f4c 100644
--- a/chrome/browser/extensions/component_loader.cc
+++ b/chrome/browser/extensions/component_loader.cc
@@ -358,8 +358,10 @@ void ComponentLoader::AddDefaultComponentExtensions(
{
const CommandLine* command_line = CommandLine::ForCurrentProcess();
if (!command_line->HasSwitch(chromeos::switches::kDisableGeniusApp)) {
- Add(IDR_GENIUS_APP_MANIFEST, base::FilePath(FILE_PATH_LITERAL(
- "/usr/share/chromeos-assets/genius_app")));
+ AddWithName(IDR_GENIUS_APP_MANIFEST,
+ base::FilePath(FILE_PATH_LITERAL(
+ "/usr/share/chromeos-assets/genius_app")),
+ l10n_util::GetStringUTF8(IDS_GENIUS_APP_NAME));
}
}
if (browser_defaults::enable_help_app) {
« no previous file with comments | « chrome/app/chromeos_strings.grdp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698