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

Side by Side Diff: base/files/file_util_proxy.cc

Issue 468253002: Move file_util to base/files/ directory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Forgot to add forwarding header to patch Created 6 years, 4 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_util_posix.cc ('k') | base/files/file_util_proxy_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 "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/files/file_util.h"
10 #include "base/location.h" 10 #include "base/location.h"
11 #include "base/task_runner.h" 11 #include "base/task_runner.h"
12 #include "base/task_runner_util.h" 12 #include "base/task_runner_util.h"
13 13
14 namespace base { 14 namespace base {
15 15
16 namespace { 16 namespace {
17 17
18 void CallWithTranslatedParameter(const FileUtilProxy::StatusCallback& callback, 18 void CallWithTranslatedParameter(const FileUtilProxy::StatusCallback& callback,
19 bool value) { 19 bool value) {
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 const Time& last_modified_time, 95 const Time& last_modified_time,
96 const StatusCallback& callback) { 96 const StatusCallback& callback) {
97 return base::PostTaskAndReplyWithResult( 97 return base::PostTaskAndReplyWithResult(
98 task_runner, 98 task_runner,
99 FROM_HERE, 99 FROM_HERE,
100 Bind(&TouchFile, file_path, last_access_time, last_modified_time), 100 Bind(&TouchFile, file_path, last_access_time, last_modified_time),
101 Bind(&CallWithTranslatedParameter, callback)); 101 Bind(&CallWithTranslatedParameter, callback));
102 } 102 }
103 103
104 } // namespace base 104 } // namespace base
OLDNEW
« no previous file with comments | « base/files/file_util_posix.cc ('k') | base/files/file_util_proxy_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698