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

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

Issue 1841863002: Update monet. (Closed) Base URL: https://github.com/domokit/monet.git@master
Patch Set: Created 4 years, 8 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 | « net/base/file_stream_context.h ('k') | net/base/file_stream_context_win.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/files/file_path.h" 7 #include "base/files/file_path.h"
8 #include "base/location.h" 8 #include "base/location.h"
9 #include "base/message_loop/message_loop_proxy.h"
10 #include "base/profiler/scoped_tracker.h" 9 #include "base/profiler/scoped_tracker.h"
11 #include "base/task_runner.h" 10 #include "base/task_runner.h"
12 #include "base/task_runner_util.h" 11 #include "base/task_runner_util.h"
13 #include "base/threading/thread_restrictions.h" 12 #include "base/threading/thread_restrictions.h"
14 #include "base/values.h" 13 #include "base/values.h"
15 #include "net/base/net_errors.h" 14 #include "net/base/net_errors.h"
16 15
17 #if defined(OS_ANDROID) 16 #if defined(OS_ANDROID)
18 #include "base/android/content_uri_utils.h" 17 #include "base/android/content_uri_utils.h"
19 #endif 18 #endif
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 // should be reset before Close() because it shouldn't run if any async 235 // should be reset before Close() because it shouldn't run if any async
237 // operation is in progress. 236 // operation is in progress.
238 async_in_progress_ = false; 237 async_in_progress_ = false;
239 if (orphaned_) 238 if (orphaned_)
240 CloseAndDelete(); 239 CloseAndDelete();
241 else 240 else
242 callback.Run(result.result); 241 callback.Run(result.result);
243 } 242 }
244 243
245 } // namespace net 244 } // namespace net
OLDNEW
« no previous file with comments | « net/base/file_stream_context.h ('k') | net/base/file_stream_context_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698