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

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

Issue 1967773004: Fix include path for moved thread_task_runner_handle.h header in chrome/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: merge up to r393013 Created 4 years, 7 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
« no previous file with comments | « chrome/utility/media_galleries/ipc_data_source.cc ('k') | no next file » | 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/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/location.h" 8 #include "base/location.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/single_thread_task_runner.h" 10 #include "base/single_thread_task_runner.h"
11 #include "base/thread_task_runner_handle.h"
12 #include "base/threading/thread.h" 11 #include "base/threading/thread.h"
12 #include "base/threading/thread_task_runner_handle.h"
13 #include "build/build_config.h" 13 #include "build/build_config.h"
14 #include "chrome/common/importer/profile_import_process_messages.h" 14 #include "chrome/common/importer/profile_import_process_messages.h"
15 #include "chrome/utility/importer/external_process_importer_bridge.h" 15 #include "chrome/utility/importer/external_process_importer_bridge.h"
16 #include "chrome/utility/importer/importer.h" 16 #include "chrome/utility/importer/importer.h"
17 #include "chrome/utility/importer/importer_creator.h" 17 #include "chrome/utility/importer/importer_creator.h"
18 #include "content/public/utility/utility_thread.h" 18 #include "content/public/utility/utility_thread.h"
19 19
20 namespace { 20 namespace {
21 21
22 bool Send(IPC::Message* message) { 22 bool Send(IPC::Message* message) {
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 } 86 }
87 } 87 }
88 88
89 void ProfileImportHandler::ImporterCleanup() { 89 void ProfileImportHandler::ImporterCleanup() {
90 importer_->Cancel(); 90 importer_->Cancel();
91 importer_ = NULL; 91 importer_ = NULL;
92 bridge_ = NULL; 92 bridge_ = NULL;
93 import_thread_.reset(); 93 import_thread_.reset();
94 content::UtilityThread::Get()->ReleaseProcessIfNeeded(); 94 content::UtilityThread::Get()->ReleaseProcessIfNeeded();
95 } 95 }
OLDNEW
« no previous file with comments | « chrome/utility/media_galleries/ipc_data_source.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698