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

Side by Side Diff: chrome/browser/first_run/first_run_aura.cc

Issue 7850026: Aura under Linux (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: White spaces Created 9 years, 3 months 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/first_run.h" 5 #include "chrome/browser/first_run/first_run.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/file_path.h" 8 #include "base/file_path.h"
9 #include "chrome/browser/importer/importer_host.h" 9 #include "chrome/browser/importer/importer_host.h"
10 #include "chrome/browser/importer/importer_list.h" 10 #include "chrome/browser/importer/importer_list.h"
11 11
12 #if defined(OS_WIN)
13 bool FirstRun::WriteEULAtoTempFile(FilePath* eula_path) {
14 // TODO(beng):
15 NOTIMPLEMENTED();
16 return true;
17 }
18
12 bool FirstRun::LaunchSetupWithParam(const std::string& param, 19 bool FirstRun::LaunchSetupWithParam(const std::string& param,
13 const std::wstring& value, 20 const std::wstring& value,
14 int* ret_code) { 21 int* ret_code) {
15 // TODO(beng): 22 // TODO(beng):
16 NOTIMPLEMENTED(); 23 NOTIMPLEMENTED();
17 return true; 24 return true;
18 }
19
20 bool FirstRun::WriteEULAtoTempFile(FilePath* eula_path) {
21 // TODO(beng):
22 NOTIMPLEMENTED();
23 return true;
24 } 25 }
25 26
26 void FirstRun::DoDelayedInstallExtensions() { 27 void FirstRun::DoDelayedInstallExtensions() {
27 // TODO(beng): 28 // TODO(beng):
28 NOTIMPLEMENTED(); 29 NOTIMPLEMENTED();
29 } 30 }
30 31
32 bool FirstRun::ImportSettings(Profile* profile,
33 scoped_refptr<ImporterHost> importer_host,
34 scoped_refptr<ImporterList> importer_list,
35 int items_to_import) {
36 return ImportSettings(
37 profile,
38 importer_list->GetSourceProfileAt(0).importer_type,
39 items_to_import,
40 FilePath(),
41 false,
42 NULL);
43 }
44
45 bool FirstRun::ImportSettings(Profile* profile,
46 int importer_type,
47 int items_to_import,
48 const FilePath& import_bookmarks_path,
49 bool skip_first_run_ui,
50 gfx::NativeWindow parent_window) {
51 // TODO(beng):
52 NOTIMPLEMENTED();
53 return false;
54 }
55
56 int FirstRun::ImportFromBrowser(Profile* profile,
57 const CommandLine& cmdline) {
58 // TODO(beng):
59 NOTIMPLEMENTED();
60 return 0;
61 }
62 #else
63 // static
64 bool FirstRun::ImportBookmarks(const FilePath& import_bookmarks_path) {
65 // TODO(beng):
66 NOTIMPLEMENTED();
67 return true;
68 }
69
70 namespace first_run {
71 void ShowFirstRunDialog(Profile* profile,
72 bool randomize_search_engine_experiment) {
73 // TODO(saintlou):
74 NOTIMPLEMENTED();
75 }
76 } // namespace first_run
77 #endif
78
31 // static 79 // static
32 void FirstRun::PlatformSetup() { 80 void FirstRun::PlatformSetup() {
33 // TODO(beng): 81 // TODO(beng):
34 NOTIMPLEMENTED(); 82 NOTIMPLEMENTED();
35 } 83 }
36 84
37 // static 85 // static
38 bool FirstRun::IsOrganicFirstRun() { 86 bool FirstRun::IsOrganicFirstRun() {
39 // TODO(beng): 87 // TODO(beng):
40 NOTIMPLEMENTED(); 88 NOTIMPLEMENTED();
41 return true; 89 return true;
42 } 90 }
43 91
44 // static 92 // static
45 FilePath FirstRun::MasterPrefsPath() { 93 FilePath FirstRun::MasterPrefsPath() {
46 // TODO(beng): 94 // TODO(beng):
47 NOTIMPLEMENTED(); 95 NOTIMPLEMENTED();
48 return FilePath(); 96 return FilePath();
49 } 97 }
50 98
51 // static
52 bool FirstRun::ImportSettings(Profile* profile,
53 int importer_type,
54 int items_to_import,
55 const FilePath& import_bookmarks_path,
56 bool skip_first_run_ui,
57 gfx::NativeWindow parent_window) {
58 // TODO(beng):
59 NOTIMPLEMENTED();
60 return false;
61 }
62 99
63 // static
64 bool FirstRun::ImportSettings(Profile* profile,
65 scoped_refptr<ImporterHost> importer_host,
66 scoped_refptr<ImporterList> importer_list,
67 int items_to_import) {
68 return ImportSettings(
69 profile,
70 importer_list->GetSourceProfileAt(0).importer_type,
71 items_to_import,
72 FilePath(),
73 false,
74 NULL);
75 }
76
77 int FirstRun::ImportFromBrowser(Profile* profile,
78 const CommandLine& cmdline) {
79 // TODO(beng):
80 NOTIMPLEMENTED();
81 return 0;
82 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698