| 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 #include "chrome/browser/importer/in_process_importer_bridge.h" | 5 #include "chrome/browser/importer/in_process_importer_bridge.h" |
| 6 | 6 |
| 7 #include <stddef.h> |
| 8 |
| 7 #include "base/bind.h" | 9 #include "base/bind.h" |
| 8 #include "base/files/file_util.h" | 10 #include "base/files/file_util.h" |
| 11 #include "base/macros.h" |
| 9 #include "base/strings/string_util.h" | 12 #include "base/strings/string_util.h" |
| 10 #include "base/strings/utf_string_conversions.h" | 13 #include "base/strings/utf_string_conversions.h" |
| 14 #include "build/build_config.h" |
| 11 #include "chrome/browser/importer/external_process_importer_host.h" | 15 #include "chrome/browser/importer/external_process_importer_host.h" |
| 12 #include "chrome/browser/search_engines/ui_thread_search_terms_data.h" | 16 #include "chrome/browser/search_engines/ui_thread_search_terms_data.h" |
| 13 #include "chrome/common/importer/imported_bookmark_entry.h" | 17 #include "chrome/common/importer/imported_bookmark_entry.h" |
| 14 #include "chrome/common/importer/importer_autofill_form_data_entry.h" | 18 #include "chrome/common/importer/importer_autofill_form_data_entry.h" |
| 15 #include "components/autofill/core/browser/webdata/autofill_entry.h" | 19 #include "components/autofill/core/browser/webdata/autofill_entry.h" |
| 16 #include "components/autofill/core/common/password_form.h" | 20 #include "components/autofill/core/common/password_form.h" |
| 17 #include "components/favicon_base/favicon_usage_data.h" | 21 #include "components/favicon_base/favicon_usage_data.h" |
| 18 #include "components/search_engines/template_url.h" | 22 #include "components/search_engines/template_url.h" |
| 19 #include "components/search_engines/template_url_parser.h" | 23 #include "components/search_engines/template_url_parser.h" |
| 20 #include "components/search_engines/template_url_prepopulate_data.h" | 24 #include "components/search_engines/template_url_prepopulate_data.h" |
| (...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 294 BrowserThread::PostTask( | 298 BrowserThread::PostTask( |
| 295 BrowserThread::UI, FROM_HERE, | 299 BrowserThread::UI, FROM_HERE, |
| 296 base::Bind(&ExternalProcessImporterHost::NotifyImportEnded, host_)); | 300 base::Bind(&ExternalProcessImporterHost::NotifyImportEnded, host_)); |
| 297 } | 301 } |
| 298 | 302 |
| 299 base::string16 InProcessImporterBridge::GetLocalizedString(int message_id) { | 303 base::string16 InProcessImporterBridge::GetLocalizedString(int message_id) { |
| 300 return l10n_util::GetStringUTF16(message_id); | 304 return l10n_util::GetStringUTF16(message_id); |
| 301 } | 305 } |
| 302 | 306 |
| 303 InProcessImporterBridge::~InProcessImporterBridge() {} | 307 InProcessImporterBridge::~InProcessImporterBridge() {} |
| OLD | NEW |