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

Side by Side Diff: chrome/utility/profile_import_handler.cc

Issue 18501013: Move most importer code to chrome/utility/importer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: another gyp attempt Created 7 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
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/utility/profile_import_handler.h" 5 #include "chrome/utility/profile_import_handler.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "base/message_loop/message_loop_proxy.h" 9 #include "base/message_loop/message_loop_proxy.h"
10 #include "base/threading/thread.h" 10 #include "base/threading/thread.h"
11 #include "chrome/browser/importer/external_process_importer_bridge.h"
12 #include "chrome/browser/importer/importer.h"
13 #include "chrome/browser/importer/importer_creator.h"
14 #include "chrome/common/importer/profile_import_process_messages.h" 11 #include "chrome/common/importer/profile_import_process_messages.h"
12 #include "chrome/utility/importer/external_process_importer_bridge.h"
13 #include "chrome/utility/importer/importer.h"
14 #include "chrome/utility/importer/importer_creator.h"
15 #include "content/public/utility/utility_thread.h" 15 #include "content/public/utility/utility_thread.h"
16 16
17 namespace chrome { 17 namespace chrome {
18 18
19 ProfileImportHandler::ProfileImportHandler() : items_to_import_(0) {} 19 ProfileImportHandler::ProfileImportHandler() : items_to_import_(0) {}
20 20
21 ProfileImportHandler::~ProfileImportHandler() {} 21 ProfileImportHandler::~ProfileImportHandler() {}
22 22
23 bool ProfileImportHandler::OnMessageReceived(const IPC::Message& message) { 23 bool ProfileImportHandler::OnMessageReceived(const IPC::Message& message) {
24 bool handled = true; 24 bool handled = true;
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 import_thread_.reset(); 83 import_thread_.reset();
84 content::UtilityThread::Get()->ReleaseProcessIfNeeded(); 84 content::UtilityThread::Get()->ReleaseProcessIfNeeded();
85 } 85 }
86 86
87 // static 87 // static
88 bool ProfileImportHandler::Send(IPC::Message* message) { 88 bool ProfileImportHandler::Send(IPC::Message* message) {
89 return content::UtilityThread::Get()->Send(message); 89 return content::UtilityThread::Get()->Send(message);
90 } 90 }
91 91
92 } // namespace chrome 92 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/utility/importer/safari_importer_unittest.mm ('k') | components/webdata/encryptor/ie7_password_unittest_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698