blob: 4a789836699c79697d67a5c72506da7abbb34f06 (
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
|
// 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,
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);
}
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) {
NOTIMPLEMENTED();
return true;
}
// static
int FirstRun::ImportNow(Profile* profile, const CommandLine& cmdline) {
// http://code.google.com/p/chromium/issues/detail?id=11971
return 0;
}
|