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

Side by Side Diff: chrome/installer/util/google_chrome_sxs_distribution.cc

Issue 1321143002: Make GetCommandExecuteImplClsid return the CLSID as a string directly. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_no_delegate_execute_win10
Patch Set: review:grt Created 5 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // This file defines implementation of GoogleChromeSxSDistribution. 5 // This file defines implementation of GoogleChromeSxSDistribution.
6 6
7 #include "chrome/installer/util/google_chrome_sxs_distribution.h" 7 #include "chrome/installer/util/google_chrome_sxs_distribution.h"
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 DCHECK(shortcut_type == SHORTCUT_CHROME || 95 DCHECK(shortcut_type == SHORTCUT_CHROME ||
96 shortcut_type == SHORTCUT_CHROME_ALTERNATE) << shortcut_type; 96 shortcut_type == SHORTCUT_CHROME_ALTERNATE) << shortcut_type;
97 return icon_resources::kSxSApplicationIndex; 97 return icon_resources::kSxSApplicationIndex;
98 } 98 }
99 99
100 bool GoogleChromeSxSDistribution::GetChromeChannel(base::string16* channel) { 100 bool GoogleChromeSxSDistribution::GetChromeChannel(base::string16* channel) {
101 *channel = kChannelName; 101 *channel = kChannelName;
102 return true; 102 return true;
103 } 103 }
104 104
105 bool GoogleChromeSxSDistribution::GetCommandExecuteImplClsid( 105 base::string16 GoogleChromeSxSDistribution::GetCommandExecuteImplClsid() {
106 base::string16* handler_class_uuid) { 106 return kCommandExecuteImplUuid;
107 if (handler_class_uuid)
108 *handler_class_uuid = kCommandExecuteImplUuid;
109 return true;
110 } 107 }
111 108
112 bool GoogleChromeSxSDistribution::ShouldSetExperimentLabels() { 109 bool GoogleChromeSxSDistribution::ShouldSetExperimentLabels() {
113 return true; 110 return true;
114 } 111 }
115 112
116 bool GoogleChromeSxSDistribution::HasUserExperiments() { 113 bool GoogleChromeSxSDistribution::HasUserExperiments() {
117 return true; 114 return true;
118 } 115 }
119 116
120 base::string16 GoogleChromeSxSDistribution::ChannelName() { 117 base::string16 GoogleChromeSxSDistribution::ChannelName() {
121 return kChannelName; 118 return kChannelName;
122 } 119 }
OLDNEW
« no previous file with comments | « chrome/installer/util/google_chrome_sxs_distribution.h ('k') | chrome/installer/util/shell_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698