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

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

Issue 22451003: Enable Quickoffice Editor by default. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 4 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/browser/browser_resources.grd ('k') | chrome/browser/resources/quick_office/manifest.json » ('j') | 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 c0b626b6972f69cb2027cc319166f8aae35fd488..aad327a71e12926c4a4df17a3b19aaf7534346aa 100644
--- a/chrome/browser/extensions/component_loader.cc
+++ b/chrome/browser/extensions/component_loader.cc
@@ -426,9 +426,9 @@ void ComponentLoader::AddDefaultComponentExtensionsWithBackgroundPages(
#if defined(GOOGLE_CHROME_BUILD)
if (!command_line->HasSwitch(
chromeos::switches::kDisableQuickofficeComponentApp)) {
- int manifest_id = IDR_QUICK_OFFICE_MANIFEST;
- if (command_line->HasSwitch(switches::kEnableQuickofficeEdit)) {
- manifest_id = IDR_QUICKOFFICE_EDITOR_MANIFEST;
+ int manifest_id = IDR_QUICKOFFICE_EDITOR_MANIFEST;
+ if (command_line->HasSwitch(switches::kEnableQuickofficeViewing)) {
+ manifest_id = IDR_QUICKOFFICE_VIEWING_MANIFEST;
}
std::string id = Add(manifest_id, base::FilePath(
FILE_PATH_LITERAL("/usr/share/chromeos-assets/quick_office")));
« no previous file with comments | « chrome/browser/browser_resources.grd ('k') | chrome/browser/resources/quick_office/manifest.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698