Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(72)

Side by Side Diff: chrome/browser/importer/in_process_importer_bridge.cc

Issue 26465006: Fix IE password import (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Renaming ie7_password to ie7_password_win Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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/file_util.h" 8 #include "base/file_util.h"
9 #include "base/strings/utf_string_conversions.h" 9 #include "base/strings/utf_string_conversions.h"
10 #include "chrome/browser/importer/external_process_importer_host.h" 10 #include "chrome/browser/importer/external_process_importer_host.h"
11 #include "chrome/browser/search_engines/template_url.h" 11 #include "chrome/browser/search_engines/template_url.h"
12 #include "chrome/browser/search_engines/template_url_parser.h" 12 #include "chrome/browser/search_engines/template_url_parser.h"
13 #include "chrome/browser/search_engines/template_url_prepopulate_data.h" 13 #include "chrome/browser/search_engines/template_url_prepopulate_data.h"
14 #include "chrome/browser/search_engines/template_url_service.h" 14 #include "chrome/browser/search_engines/template_url_service.h"
15 #include "chrome/common/importer/imported_bookmark_entry.h" 15 #include "chrome/common/importer/imported_bookmark_entry.h"
16 #include "chrome/common/importer/imported_favicon_usage.h" 16 #include "chrome/common/importer/imported_favicon_usage.h"
17 #include "components/autofill/core/common/password_form.h" 17 #include "components/autofill/core/common/password_form.h"
18 #include "content/public/browser/browser_thread.h" 18 #include "content/public/browser/browser_thread.h"
19 #include "ui/base/l10n/l10n_util.h" 19 #include "ui/base/l10n/l10n_util.h"
20 20
21 #if defined(OS_WIN) 21 #if defined(OS_WIN)
22 #include "components/webdata/encryptor/ie7_password.h" 22 #include "components/webdata/encryptor/ie7_password_win.h"
23 #endif 23 #endif
24 24
25 #include <iterator> 25 #include <iterator>
26 26
27 namespace { 27 namespace {
28 28
29 history::URLRows ConvertImporterURLRowsToHistoryURLRows( 29 history::URLRows ConvertImporterURLRowsToHistoryURLRows(
30 const std::vector<ImporterURLRow>& rows) { 30 const std::vector<ImporterURLRow>& rows) {
31 history::URLRows converted; 31 history::URLRows converted;
32 converted.reserve(rows.size()); 32 converted.reserve(rows.size());
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 BrowserThread::PostTask( 275 BrowserThread::PostTask(
276 BrowserThread::UI, FROM_HERE, 276 BrowserThread::UI, FROM_HERE,
277 base::Bind(&ExternalProcessImporterHost::NotifyImportEnded, host_)); 277 base::Bind(&ExternalProcessImporterHost::NotifyImportEnded, host_));
278 } 278 }
279 279
280 string16 InProcessImporterBridge::GetLocalizedString(int message_id) { 280 string16 InProcessImporterBridge::GetLocalizedString(int message_id) {
281 return l10n_util::GetStringUTF16(message_id); 281 return l10n_util::GetStringUTF16(message_id);
282 } 282 }
283 283
284 InProcessImporterBridge::~InProcessImporterBridge() {} 284 InProcessImporterBridge::~InProcessImporterBridge() {}
OLDNEW
« no previous file with comments | « chrome/browser/importer/ie_importer_browsertest_win.cc ('k') | chrome/browser/password_manager/password_store_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698