Chromium Code Reviews| Index: chrome/installer/setup/install.cc |
| =================================================================== |
| --- chrome/installer/setup/install.cc (revision 119922) |
| +++ chrome/installer/setup/install.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. |
| @@ -422,8 +422,11 @@ |
| installer::master_preferences::kAutoLaunchChrome, |
| &auto_launch_chrome); |
| if (auto_launch_chrome) { |
| + FilePath path = |
| + chrome_install->GetUserDataPath().AppendASCII("Default"); |
|
grt (UTC plus 2)
2012/02/01 18:45:15
#include "chrome/common/chrome_constants.h"
"Defau
|
| auto_launch_util::SetWillLaunchAtLogin( |
| - true, installer_state.target_path()); |
| + true, installer_state.target_path(), |
|
grt (UTC plus 2)
2012/02/01 18:45:15
nit: move |path| up to this line
|
| + path); |
| } |
| } |
| } |