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

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

Issue 373343003: Componentize TemplateURLFetcher (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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
« no previous file with comments | « no previous file | chrome/browser/profiles/profile_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_parser.h"
12 #include "chrome/browser/search_engines/ui_thread_search_terms_data.h" 11 #include "chrome/browser/search_engines/ui_thread_search_terms_data.h"
13 #include "chrome/common/importer/imported_bookmark_entry.h" 12 #include "chrome/common/importer/imported_bookmark_entry.h"
14 #include "chrome/common/importer/imported_favicon_usage.h" 13 #include "chrome/common/importer/imported_favicon_usage.h"
15 #include "components/autofill/core/common/password_form.h" 14 #include "components/autofill/core/common/password_form.h"
16 #include "components/search_engines/template_url.h" 15 #include "components/search_engines/template_url.h"
16 #include "components/search_engines/template_url_parser.h"
17 #include "components/search_engines/template_url_prepopulate_data.h" 17 #include "components/search_engines/template_url_prepopulate_data.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/os_crypt/ie7_password_win.h" 22 #include "components/os_crypt/ie7_password_win.h"
23 #endif 23 #endif
24 24
25 #include <iterator> 25 #include <iterator>
26 26
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 BrowserThread::PostTask( 277 BrowserThread::PostTask(
278 BrowserThread::UI, FROM_HERE, 278 BrowserThread::UI, FROM_HERE,
279 base::Bind(&ExternalProcessImporterHost::NotifyImportEnded, host_)); 279 base::Bind(&ExternalProcessImporterHost::NotifyImportEnded, host_));
280 } 280 }
281 281
282 base::string16 InProcessImporterBridge::GetLocalizedString(int message_id) { 282 base::string16 InProcessImporterBridge::GetLocalizedString(int message_id) {
283 return l10n_util::GetStringUTF16(message_id); 283 return l10n_util::GetStringUTF16(message_id);
284 } 284 }
285 285
286 InProcessImporterBridge::~InProcessImporterBridge() {} 286 InProcessImporterBridge::~InProcessImporterBridge() {}
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/profiles/profile_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698