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

Side by Side Diff: base/files/file_util_proxy.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 | « base/files/file_path_watcher_win.cc ('k') | base/message_loop.h » ('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 "base/files/file_util_proxy.h" 5 #include "base/files/file_util_proxy.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/bind_helpers.h" 8 #include "base/bind_helpers.h"
9 #include "base/file_util.h" 9 #include "base/file_util.h"
10 #include "base/location.h" 10 #include "base/location.h"
11 #include "base/message_loop_proxy.h" 11 #include "base/message_loop/message_loop_proxy.h"
12 #include "base/task_runner.h" 12 #include "base/task_runner.h"
13 #include "base/task_runner_util.h" 13 #include "base/task_runner_util.h"
14 14
15 namespace base { 15 namespace base {
16 16
17 namespace { 17 namespace {
18 18
19 void CallWithTranslatedParameter(const FileUtilProxy::StatusCallback& callback, 19 void CallWithTranslatedParameter(const FileUtilProxy::StatusCallback& callback,
20 bool value) { 20 bool value) {
21 DCHECK(!callback.is_null()); 21 DCHECK(!callback.is_null());
(...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after
417 bool FileUtilProxy::RelayClose( 417 bool FileUtilProxy::RelayClose(
418 TaskRunner* task_runner, 418 TaskRunner* task_runner,
419 const CloseTask& close_task, 419 const CloseTask& close_task,
420 PlatformFile file_handle, 420 PlatformFile file_handle,
421 const StatusCallback& callback) { 421 const StatusCallback& callback) {
422 return base::PostTaskAndReplyWithResult( 422 return base::PostTaskAndReplyWithResult(
423 task_runner, FROM_HERE, Bind(close_task, file_handle), callback); 423 task_runner, FROM_HERE, Bind(close_task, file_handle), callback);
424 } 424 }
425 425
426 } // namespace base 426 } // namespace base
OLDNEW
« no previous file with comments | « base/files/file_path_watcher_win.cc ('k') | base/message_loop.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698