| 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 "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/utf_string_conversions.h" | 8 #include "base/utf_string_conversions.h" |
| 9 #include "chrome/browser/importer/importer_host.h" | 9 #include "chrome/browser/importer/importer_host.h" |
| 10 #include "chrome/browser/search_engines/template_url.h" | 10 #include "chrome/browser/search_engines/template_url.h" |
| 11 #include "content/public/browser/browser_thread.h" | 11 #include "content/public/browser/browser_thread.h" |
| 12 #include "content/public/common/password_form.h" | 12 #include "content/public/common/password_form.h" |
| 13 #include "ui/base/l10n/l10n_util.h" | 13 #include "ui/base/l10n/l10n_util.h" |
| 14 | 14 |
| 15 #if defined(OS_WIN) | 15 #if defined(OS_WIN) |
| 16 #include "chrome/browser/password_manager/ie7_password.h" | 16 #include "components/webdata/encryptor/ie7_password.h" |
| 17 #endif | 17 #endif |
| 18 | 18 |
| 19 #include <iterator> | 19 #include <iterator> |
| 20 | 20 |
| 21 using content::BrowserThread; | 21 using content::BrowserThread; |
| 22 | 22 |
| 23 InProcessImporterBridge::InProcessImporterBridge(ProfileWriter* writer, | 23 InProcessImporterBridge::InProcessImporterBridge(ProfileWriter* writer, |
| 24 ImporterHost* host) | 24 ImporterHost* host) |
| 25 : writer_(writer), | 25 : writer_(writer), |
| 26 host_(host) { | 26 host_(host) { |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 BrowserThread::PostTask( | 105 BrowserThread::PostTask( |
| 106 BrowserThread::UI, FROM_HERE, | 106 BrowserThread::UI, FROM_HERE, |
| 107 base::Bind(&ImporterHost::NotifyImportEnded, host_)); | 107 base::Bind(&ImporterHost::NotifyImportEnded, host_)); |
| 108 } | 108 } |
| 109 | 109 |
| 110 string16 InProcessImporterBridge::GetLocalizedString(int message_id) { | 110 string16 InProcessImporterBridge::GetLocalizedString(int message_id) { |
| 111 return l10n_util::GetStringUTF16(message_id); | 111 return l10n_util::GetStringUTF16(message_id); |
| 112 } | 112 } |
| 113 | 113 |
| 114 InProcessImporterBridge::~InProcessImporterBridge() {} | 114 InProcessImporterBridge::~InProcessImporterBridge() {} |
| OLD | NEW |