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