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

Side by Side Diff: chrome/browser/first_run_gtk.cc

Issue 340020: Cleanup a few FirstRun methods that are only applicable to Windows. (Closed)
Patch Set: code review feedback" Created 11 years, 1 month 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
« no previous file with comments | « chrome/browser/first_run.h ('k') | chrome/common/temp_scaffolding_stubs.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 #include "chrome/browser/first_run.h" 5 #include "chrome/browser/first_run.h"
6 6
7 #include "chrome/browser/gtk/first_run_dialog.h" 7 #include "chrome/browser/gtk/first_run_dialog.h"
8 8
9 bool OpenFirstRunDialog(Profile* profile, bool homepage_defined, 9 bool OpenFirstRunDialog(Profile* profile, bool homepage_defined,
10 int import_items, 10 int import_items,
11 int dont_import_items, 11 int dont_import_items,
12 ProcessSingleton* process_singleton) { 12 ProcessSingleton* process_singleton) {
13 // TODO(port): Use process_singleton to make sure Chrome can not be started
14 // while this process is active.
15 return FirstRunDialog::Show(profile, process_singleton); 13 return FirstRunDialog::Show(profile, process_singleton);
16 } 14 }
17
18 bool FirstRun::ProcessMasterPreferences(const FilePath& user_data_dir,
19 const FilePath& master_prefs_path,
20 std::vector<std::wstring>* new_tabs,
21 int* ping_delay,
22 bool* homepage_defined,
23 int* do_import_items,
24 int* dont_import_items) {
25 // http://code.google.com/p/chromium/issues/detail?id=11971
26 return true;
27 }
28
29 // static
30 int FirstRun::ImportNow(Profile* profile, const CommandLine& cmdline) {
31 // http://code.google.com/p/chromium/issues/detail?id=11971
32 return 0;
33 }
OLDNEW
« no previous file with comments | « chrome/browser/first_run.h ('k') | chrome/common/temp_scaffolding_stubs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698