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.h" | 5 #include "chrome/browser/importer.h" |
6 | 6 |
7 #include <map> | 7 #include <map> |
8 | 8 |
9 #include "base/file_util.h" | 9 #include "base/file_util.h" |
10 #include "base/gfx/image_operations.h" | 10 #include "base/gfx/image_operations.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 "chrome/browser/bookmark_bar_model.h" | 13 #include "chrome/browser/bookmarks/bookmark_bar_model.h" |
14 #include "chrome/browser/browser_process.h" | 14 #include "chrome/browser/browser_process.h" |
15 #include "chrome/browser/firefox2_importer.h" | 15 #include "chrome/browser/firefox2_importer.h" |
16 #include "chrome/browser/firefox3_importer.h" | 16 #include "chrome/browser/firefox3_importer.h" |
17 #include "chrome/browser/firefox_importer_utils.h" | 17 #include "chrome/browser/firefox_importer_utils.h" |
18 #include "chrome/browser/firefox_profile_lock.h" | 18 #include "chrome/browser/firefox_profile_lock.h" |
19 #include "chrome/browser/ie_importer.h" | 19 #include "chrome/browser/ie_importer.h" |
20 #include "chrome/browser/template_url_model.h" | 20 #include "chrome/browser/template_url_model.h" |
21 #include "chrome/browser/shell_integration.h" | 21 #include "chrome/browser/shell_integration.h" |
22 #include "chrome/browser/webdata/web_data_service.h" | 22 #include "chrome/browser/webdata/web_data_service.h" |
23 #include "chrome/common/gfx/favicon_size.h" | 23 #include "chrome/common/gfx/favicon_size.h" |
(...skipping 510 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
534 if (!source_path.empty()) { | 534 if (!source_path.empty()) { |
535 ProfileInfo* firefox = new ProfileInfo(); | 535 ProfileInfo* firefox = new ProfileInfo(); |
536 firefox->description = l10n_util::GetString(IDS_IMPORT_FROM_FIREFOX); | 536 firefox->description = l10n_util::GetString(IDS_IMPORT_FROM_FIREFOX); |
537 firefox->browser_type = firefox_type; | 537 firefox->browser_type = firefox_type; |
538 firefox->source_path = source_path; | 538 firefox->source_path = source_path; |
539 firefox->app_path = GetFirefoxInstallPath(); | 539 firefox->app_path = GetFirefoxInstallPath(); |
540 source_profiles_.push_back(firefox); | 540 source_profiles_.push_back(firefox); |
541 } | 541 } |
542 } | 542 } |
543 | 543 |
OLD | NEW |