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

Unified Diff: chrome/browser/web_applications/web_app.cc

Issue 13864015: Move app launcher and chrome apps shortcut strings into the installer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@migrate_app_id_fix
Patch Set: fix linux unit tests 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
Index: chrome/browser/web_applications/web_app.cc
diff --git a/chrome/browser/web_applications/web_app.cc b/chrome/browser/web_applications/web_app.cc
index 072bbf07cc16b47437f33fdbe93dd5f84069fbda..4cc27463a827cd1263455ca5dae88a41e7a0556d 100644
--- a/chrome/browser/web_applications/web_app.cc
+++ b/chrome/browser/web_applications/web_app.cc
@@ -16,10 +16,9 @@
#include "chrome/common/extensions/extension.h"
#include "chrome/common/extensions/manifest_handlers/app_launch_info.h"
#include "chrome/common/url_constants.h"
+#include "chrome/installer/util/browser_distribution.h"
gab 2013/10/03 17:22:49 Remove unused include.
calamity 2013/10/14 02:24:25 Done.
#include "content/public/browser/browser_thread.h"
#include "extensions/common/constants.h"
-#include "grit/chromium_strings.h"
-#include "ui/base/l10n/l10n_util.h"
using content::BrowserThread;
@@ -236,11 +235,4 @@ std::string GetWMClassFromAppName(std::string app_name) {
}
#endif
-string16 GetAppShortcutsSubdirName() {
- chrome::VersionInfo::Channel channel = chrome::VersionInfo::GetChannel();
- if (channel == chrome::VersionInfo::CHANNEL_CANARY)
- return l10n_util::GetStringUTF16(IDS_APP_SHORTCUTS_SUBDIR_NAME_CANARY);
- return l10n_util::GetStringUTF16(IDS_APP_SHORTCUTS_SUBDIR_NAME);
-}
-
} // namespace web_app

Powered by Google App Engine
This is Rietveld 408576698