OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "chrome/browser/first_run/first_run.h" |
| 6 |
| 7 #include "base/logging.h" |
| 8 #include "base/file_path.h" |
| 9 #include "chrome/browser/importer/importer_host.h" |
| 10 #include "chrome/browser/importer/importer_list.h" |
| 11 |
| 12 bool FirstRun::LaunchSetupWithParam(const std::string& param, |
| 13 const std::wstring& value, |
| 14 int* ret_code) { |
| 15 // TODO(beng): |
| 16 NOTIMPLEMENTED(); |
| 17 return true; |
| 18 } |
| 19 |
| 20 bool FirstRun::WriteEULAtoTempFile(FilePath* eula_path) { |
| 21 // TODO(beng): |
| 22 NOTIMPLEMENTED(); |
| 23 return true; |
| 24 } |
| 25 |
| 26 void FirstRun::DoDelayedInstallExtensions() { |
| 27 // TODO(beng): |
| 28 NOTIMPLEMENTED(); |
| 29 } |
| 30 |
| 31 // static |
| 32 void FirstRun::PlatformSetup() { |
| 33 // TODO(beng): |
| 34 NOTIMPLEMENTED(); |
| 35 } |
| 36 |
| 37 // static |
| 38 bool FirstRun::IsOrganicFirstRun() { |
| 39 // TODO(beng): |
| 40 NOTIMPLEMENTED(); |
| 41 return true; |
| 42 } |
| 43 |
| 44 // static |
| 45 FilePath FirstRun::MasterPrefsPath() { |
| 46 // TODO(beng): |
| 47 NOTIMPLEMENTED(); |
| 48 return FilePath(); |
| 49 } |
| 50 |
| 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 |
| 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 } |
OLD | NEW |