| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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/importer/importer.h" | 5 #include "chrome/browser/importer/importer.h" |
| 6 | 6 |
| 7 #include <map> | 7 #include <map> |
| 8 #include <set> | 8 #include <set> |
| 9 | 9 |
| 10 #include "base/file_util.h" | 10 #include "base/file_util.h" |
| 11 #include "base/gfx/png_encoder.h" | 11 #include "base/gfx/png_encoder.h" |
| 12 #include "base/string_util.h" | 12 #include "base/string_util.h" |
| 13 #include "base/time.h" | |
| 14 #include "chrome/browser/bookmarks/bookmark_model.h" | 13 #include "chrome/browser/bookmarks/bookmark_model.h" |
| 15 #include "chrome/browser/browser.h" | 14 #include "chrome/browser/browser.h" |
| 16 #include "chrome/browser/browser_list.h" | 15 #include "chrome/browser/browser_list.h" |
| 17 #include "chrome/browser/browser_process.h" | 16 #include "chrome/browser/browser_process.h" |
| 18 #include "chrome/browser/first_run.h" | 17 #include "chrome/browser/first_run.h" |
| 19 #include "chrome/browser/importer/firefox2_importer.h" | 18 #include "chrome/browser/importer/firefox2_importer.h" |
| 20 #include "chrome/browser/importer/firefox3_importer.h" | 19 #include "chrome/browser/importer/firefox3_importer.h" |
| 21 #include "chrome/browser/importer/firefox_importer_utils.h" | 20 #include "chrome/browser/importer/firefox_importer_utils.h" |
| 22 #include "chrome/browser/importer/firefox_profile_lock.h" | 21 #include "chrome/browser/importer/firefox_profile_lock.h" |
| 23 #if defined(OS_WIN) | 22 #if defined(OS_WIN) |
| (...skipping 678 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 702 ProfileInfo* firefox = new ProfileInfo(); | 701 ProfileInfo* firefox = new ProfileInfo(); |
| 703 firefox->description = l10n_util::GetString(IDS_IMPORT_FROM_FIREFOX); | 702 firefox->description = l10n_util::GetString(IDS_IMPORT_FROM_FIREFOX); |
| 704 firefox->browser_type = firefox_type; | 703 firefox->browser_type = firefox_type; |
| 705 firefox->source_path = source_path; | 704 firefox->source_path = source_path; |
| 706 firefox->app_path = GetFirefoxInstallPath(); | 705 firefox->app_path = GetFirefoxInstallPath(); |
| 707 firefox->services_supported = HISTORY | FAVORITES | COOKIES | PASSWORDS | | 706 firefox->services_supported = HISTORY | FAVORITES | COOKIES | PASSWORDS | |
| 708 SEARCH_ENGINES; | 707 SEARCH_ENGINES; |
| 709 source_profiles_.push_back(firefox); | 708 source_profiles_.push_back(firefox); |
| 710 } | 709 } |
| 711 } | 710 } |
| OLD | NEW |