OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_list.h" | 5 #include "chrome/browser/importer/importer_list.h" |
6 | 6 |
7 #include "app/l10n_util.h" | 7 #include "app/l10n_util.h" |
8 #include "base/file_util.h" | 8 #include "base/file_util.h" |
9 #include "base/stl_util-inl.h" | 9 #include "base/stl_util-inl.h" |
10 #include "base/values.h" | 10 #include "base/values.h" |
11 #include "base/utf_string_conversions.h" | 11 #include "base/utf_string_conversions.h" |
12 #include "chrome/browser/first_run.h" | 12 #include "chrome/browser/first_run.h" |
13 #include "chrome/browser/importer/firefox2_importer.h" | 13 #include "chrome/browser/importer/firefox2_importer.h" |
14 #include "chrome/browser/importer/firefox3_importer.h" | 14 #include "chrome/browser/importer/firefox3_importer.h" |
15 #include "chrome/browser/importer/firefox_importer_utils.h" | 15 #include "chrome/browser/importer/firefox_importer_utils.h" |
16 #include "chrome/browser/importer/importer_bridge.h" | 16 #include "chrome/browser/importer/importer_bridge.h" |
17 #include "chrome/browser/importer/toolbar_importer.h" | 17 #include "chrome/browser/importer/toolbar_importer.h" |
18 #include "chrome/browser/shell_integration.h" | 18 #include "chrome/browser/shell_integration.h" |
19 #include "grit/generated_resources.h" | 19 #include "grit/generated_resources.h" |
20 | 20 |
21 #if defined(OS_WIN) | 21 #if defined(OS_WIN) |
22 #include "app/win_util.h" | |
23 #include "chrome/browser/importer/ie_importer.h" | 22 #include "chrome/browser/importer/ie_importer.h" |
24 #include "chrome/browser/password_manager/ie7_password.h" | 23 #include "chrome/browser/password_manager/ie7_password.h" |
25 #endif | 24 #endif |
26 #if defined(OS_MACOSX) | 25 #if defined(OS_MACOSX) |
27 #include "base/mac_util.h" | 26 #include "base/mac_util.h" |
28 #include "chrome/browser/importer/safari_importer.h" | 27 #include "chrome/browser/importer/safari_importer.h" |
29 #endif | 28 #endif |
30 | 29 |
31 ImporterList::ImporterList() { | 30 ImporterList::ImporterList() { |
32 } | 31 } |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 importer::ProfileInfo* safari = new importer::ProfileInfo(); | 176 importer::ProfileInfo* safari = new importer::ProfileInfo(); |
178 safari->browser_type = importer::SAFARI; | 177 safari->browser_type = importer::SAFARI; |
179 safari->description = l10n_util::GetString(IDS_IMPORT_FROM_SAFARI); | 178 safari->description = l10n_util::GetString(IDS_IMPORT_FROM_SAFARI); |
180 safari->source_path.clear(); | 179 safari->source_path.clear(); |
181 safari->app_path.clear(); | 180 safari->app_path.clear(); |
182 safari->services_supported = items; | 181 safari->services_supported = items; |
183 source_profiles_.push_back(safari); | 182 source_profiles_.push_back(safari); |
184 } | 183 } |
185 } | 184 } |
186 #endif // OS_MACOSX | 185 #endif // OS_MACOSX |
OLD | NEW |