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

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

Issue 14348027: Move ie7_password namespace to //components, so it can be used by components. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix order of Win includes. Created 7 years, 8 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 | Annotate | Revision Log
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/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
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() {}
OLDNEW
« no previous file with comments | « chrome/browser/importer/ie_importer_unittest_win.cc ('k') | chrome/browser/password_manager/ie7_password.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698