| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #ifndef CHROME_BROWSER_FIRST_RUN_FIRST_RUN_INTERNAL_H_ | 5 #ifndef CHROME_BROWSER_FIRST_RUN_FIRST_RUN_INTERNAL_H_ |
| 6 #define CHROME_BROWSER_FIRST_RUN_FIRST_RUN_INTERNAL_H_ | 6 #define CHROME_BROWSER_FIRST_RUN_FIRST_RUN_INTERNAL_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 #endif // OS_WIN | 70 #endif // OS_WIN |
| 71 | 71 |
| 72 #if !defined(USE_AURA) | 72 #if !defined(USE_AURA) |
| 73 // AutoImport code which is common to all platforms. | 73 // AutoImport code which is common to all platforms. |
| 74 void AutoImportPlatformCommon( | 74 void AutoImportPlatformCommon( |
| 75 scoped_refptr<ImporterHost> importer_host, | 75 scoped_refptr<ImporterHost> importer_host, |
| 76 Profile* profile, | 76 Profile* profile, |
| 77 bool homepage_defined, | 77 bool homepage_defined, |
| 78 int import_items, | 78 int import_items, |
| 79 int dont_import_items, | 79 int dont_import_items, |
| 80 bool search_engine_experiment, | |
| 81 bool randomize_search_engine_experiment, | |
| 82 bool make_chrome_default); | 80 bool make_chrome_default); |
| 83 #endif // !defined(USE_AURA) | 81 #endif // !defined(USE_AURA) |
| 84 | 82 |
| 85 int ImportBookmarkFromFileIfNeeded(Profile* profile, | 83 int ImportBookmarkFromFileIfNeeded(Profile* profile, |
| 86 const CommandLine& cmdline); | 84 const CommandLine& cmdline); |
| 87 | 85 |
| 88 #if !defined(OS_WIN) | 86 #if !defined(OS_WIN) |
| 89 bool ImportBookmarks(const FilePath& import_bookmarks_path); | 87 bool ImportBookmarks(const FilePath& import_bookmarks_path); |
| 90 #endif | 88 #endif |
| 91 | 89 |
| 92 } // namespace internal | 90 } // namespace internal |
| 93 } // namespace first_run | 91 } // namespace first_run |
| 94 | 92 |
| 95 #endif // CHROME_BROWSER_FIRST_RUN_FIRST_RUN_INTERNAL_H_ | 93 #endif // CHROME_BROWSER_FIRST_RUN_FIRST_RUN_INTERNAL_H_ |
| OLD | NEW |