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

Unified Diff: chrome/installer/setup/uninstall.cc

Issue 9317002: Make the auto-launch experiment profile-aware. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 8 years, 10 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/installer/setup/uninstall.cc
===================================================================
--- chrome/installer/setup/uninstall.cc (revision 119922)
+++ chrome/installer/setup/uninstall.cc (working copy)
@@ -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.
//
@@ -738,8 +738,12 @@
if (is_chrome) {
ClearRlzProductState();
- if (auto_launch_util::WillLaunchAtLogin(installer_state.target_path()))
- auto_launch_util::SetWillLaunchAtLogin(false, FilePath());
+ FilePath profile_path =
+ product.GetUserDataPath().AppendASCII(chrome::kInitialProfile);
+ if (auto_launch_util::WillLaunchAtLogin(installer_state.target_path(),
+ profile_path)) {
+ auto_launch_util::SetWillLaunchAtLogin(false, FilePath(), profile_path);
+ }
}
// First delete shortcuts from Start->Programs, Desktop & Quick Launch.

Powered by Google App Engine
This is Rietveld 408576698