OLD | NEW |
1 | |
2 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. |
3 // 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 |
4 // found in the LICENSE file. | 3 // found in the LICENSE file. |
5 | 4 |
6 #include "chrome/browser/first_run.h" | 5 #include "chrome/browser/first_run.h" |
7 | 6 |
8 #include "chrome/browser/gtk/first_run_dialog.h" | 7 #include "chrome/browser/gtk/first_run_dialog.h" |
9 | 8 |
10 bool OpenFirstRunDialog(Profile* profile, bool homepage_defined, | 9 bool OpenFirstRunDialog(Profile* profile, bool homepage_defined, |
11 ProcessSingleton* process_singleton) { | 10 ProcessSingleton* process_singleton) { |
12 // TODO(port): Use process_singleton to make sure Chrome can not be started | 11 // TODO(port): Use process_singleton to make sure Chrome can not be started |
13 // while this process is active. | 12 // while this process is active. |
14 return FirstRunDialog::Show(profile); | 13 return FirstRunDialog::Show(profile); |
15 } | 14 } |
| 15 |
| 16 bool FirstRun::ProcessMasterPreferences(const FilePath& user_data_dir, |
| 17 const FilePath& master_prefs_path, |
| 18 std::vector<std::wstring>* new_tabs, |
| 19 int* ping_delay, |
| 20 bool* homepage_defined) { |
| 21 NOTIMPLEMENTED(); |
| 22 return true; |
| 23 } |
| 24 |
| 25 // static |
| 26 int FirstRun::ImportNow(Profile* profile, const CommandLine& cmdline) { |
| 27 // http://code.google.com/p/chromium/issues/detail?id=11971 |
| 28 return 0; |
| 29 } |
OLD | NEW |