summaryrefslogtreecommitdiffstats
path: root/chrome/installer/util/chrome_frame_distribution.cc
diff options
context:
space:
mode:
authorstevet@chromium.org <stevet@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-17 17:44:36 +0000
committerstevet@chromium.org <stevet@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-17 17:44:36 +0000
commit04bdebfa5c0a7aee88220c20b3b8d483f79a3d12 (patch)
treed2b1e6516431f8a0162463520caa6a329deba42a /chrome/installer/util/chrome_frame_distribution.cc
parent67e3cda094a22fbde58c42b5617cb63f187e4320 (diff)
downloadchromium_src-04bdebfa5c0a7aee88220c20b3b8d483f79a3d12.zip
chromium_src-04bdebfa5c0a7aee88220c20b3b8d483f79a3d12.tar.gz
chromium_src-04bdebfa5c0a7aee88220c20b3b8d483f79a3d12.tar.bz2
Check the browser distribution when determining whether or not we should create desktop shortcuts, rather than the no-first-run flag.
BUG=108362 TEST=Ensure that installing Chrome Frame and visiting a Chrome Frame enabled page does not create any desktop shortcuts in Windows. Ensure that running a pyauto test that runs the OpenNewBrowserWindowWithNewProfile hook also creates desktop shortcuts. Review URL: http://codereview.chromium.org/9227010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117910 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/installer/util/chrome_frame_distribution.cc')
-rw-r--r--chrome/installer/util/chrome_frame_distribution.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/chrome/installer/util/chrome_frame_distribution.cc b/chrome/installer/util/chrome_frame_distribution.cc
index 576dc4a..d36f8b1 100644
--- a/chrome/installer/util/chrome_frame_distribution.cc
+++ b/chrome/installer/util/chrome_frame_distribution.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
@@ -113,6 +113,10 @@ bool ChromeFrameDistribution::CanSetAsDefault() {
return false;
}
+bool ChromeFrameDistribution::CanCreateDesktopShortcuts() {
+ return false;
+}
+
void ChromeFrameDistribution::UpdateInstallStatus(bool system_install,
installer::ArchiveType archive_type,
installer::InstallStatus install_status) {