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

Side by Side Diff: chrome/utility/media_galleries/ipc_data_source.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/test/ppapi/ppapi_test.cc ('k') | chrome/utility/profile_import_handler.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/media_galleries/ipc_data_source.h" 5 #include "chrome/utility/media_galleries/ipc_data_source.h"
6 6
7 #include "base/thread_task_runner_handle.h" 7 #include "base/threading/thread_task_runner_handle.h"
8 #include "chrome/common/extensions/chrome_utility_extensions_messages.h" 8 #include "chrome/common/extensions/chrome_utility_extensions_messages.h"
9 #include "content/public/utility/utility_thread.h" 9 #include "content/public/utility/utility_thread.h"
10 10
11 namespace metadata { 11 namespace metadata {
12 12
13 IPCDataSource::IPCDataSource(int64_t total_size) 13 IPCDataSource::IPCDataSource(int64_t total_size)
14 : total_size_(total_size), 14 : total_size_(total_size),
15 utility_task_runner_(base::ThreadTaskRunnerHandle::Get()), 15 utility_task_runner_(base::ThreadTaskRunnerHandle::Get()),
16 next_request_id_(0) { 16 next_request_id_(0) {
17 data_source_thread_checker_.DetachFromThread(); 17 data_source_thread_checker_.DetachFromThread();
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 if (it == pending_requests_.end()) 104 if (it == pending_requests_.end())
105 return; 105 return;
106 106
107 std::copy(bytes.begin(), bytes.end(), it->second.destination); 107 std::copy(bytes.begin(), bytes.end(), it->second.destination);
108 it->second.callback.Run(bytes.size()); 108 it->second.callback.Run(bytes.size());
109 109
110 pending_requests_.erase(it); 110 pending_requests_.erase(it);
111 } 111 }
112 112
113 } // namespace metadata 113 } // namespace metadata
OLDNEW
« no previous file with comments | « chrome/test/ppapi/ppapi_test.cc ('k') | chrome/utility/profile_import_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698