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

Side by Side Diff: net/base/file_stream_context.cc

Issue 16514006: Update includes of message_loop_proxy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 | « net/base/file_stream.cc ('k') | net/base/upload_file_element_reader_unittest.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 "net/base/file_stream_context.h" 5 #include "net/base/file_stream_context.h"
6 6
7 #include "base/location.h" 7 #include "base/location.h"
8 #include "base/message_loop_proxy.h" 8 #include "base/message_loop/message_loop_proxy.h"
9 #include "base/task_runner_util.h" 9 #include "base/task_runner_util.h"
10 #include "base/threading/thread_restrictions.h" 10 #include "base/threading/thread_restrictions.h"
11 #include "base/threading/worker_pool.h" 11 #include "base/threading/worker_pool.h"
12 #include "net/base/file_stream_net_log_parameters.h" 12 #include "net/base/file_stream_net_log_parameters.h"
13 #include "net/base/net_errors.h" 13 #include "net/base/net_errors.h"
14 14
15 namespace { 15 namespace {
16 16
17 void CallInt64ToInt(const net::CompletionCallback& callback, int64 result) { 17 void CallInt64ToInt(const net::CompletionCallback& callback, int64 result) {
18 callback.Run(static_cast<int>(result)); 18 callback.Run(static_cast<int>(result));
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 // operation is in progress. 253 // operation is in progress.
254 async_in_progress_ = false; 254 async_in_progress_ = false;
255 if (orphaned_) 255 if (orphaned_)
256 CloseAndDelete(); 256 CloseAndDelete();
257 else 257 else
258 callback.Run(result); 258 callback.Run(result);
259 } 259 }
260 260
261 } // namespace net 261 } // namespace net
262 262
OLDNEW
« no previous file with comments | « net/base/file_stream.cc ('k') | net/base/upload_file_element_reader_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698