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

Unified Diff: win8/metro_driver/winrt_utils.cc

Issue 23258005: Give SxS distribution its own registration GUIDs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add linker dependency from metro_driver to installer_util 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
« win8/metro_driver/metro_driver.gyp ('K') | « win8/metro_driver/metro_driver.gyp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: win8/metro_driver/winrt_utils.cc
diff --git a/win8/metro_driver/winrt_utils.cc b/win8/metro_driver/winrt_utils.cc
index be348dc61146fc9515c30067b8f9ad52e8f31911..56569f65939dd9b714001646967fc515576696f1 100644
--- a/win8/metro_driver/winrt_utils.cc
+++ b/win8/metro_driver/winrt_utils.cc
@@ -11,6 +11,7 @@
#include "base/logging.h"
#include "base/win/scoped_com_initializer.h"
#include "base/win/scoped_comptr.h"
+#include "chrome/installer/util/install_util.h"
void CheckHR(HRESULT hr, const char* message) {
if (FAILED(hr)) {
@@ -209,7 +210,10 @@ string16 ReadArgumentsFromPinnedTaskbarShortcut() {
// TODO(robertshield): Get this stuff from BrowserDistribution.
#if defined(GOOGLE_CHROME_BUILD)
- shortcut = shortcut.Append(L"Google Chrome.lnk");
+ if (InstallUtil::IsChromeSxSProcess())
gab 2013/09/03 21:05:19 Use BrowserDistribution::GetShortcutName() instead
zturner 2013/09/05 01:35:29 Done.
+ shortcut = shortcut.Append(L"Google Chrome Canary.lnk");
+ else
+ shortcut = shortcut.Append(L"Google Chrome.lnk");
#else
shortcut = shortcut.Append(L"Chromium.lnk");
#endif
« win8/metro_driver/metro_driver.gyp ('K') | « win8/metro_driver/metro_driver.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698