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

Side by Side Diff: mojo/common/data_pipe_file_utils.cc

Issue 1543603002: Switch to standard integer types in mojo/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 5 years 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 | « mojo/common/data_pipe_drainer.cc ('k') | mojo/common/data_pipe_utils.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 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 "mojo/common/data_pipe_utils.h" 5 #include "mojo/common/data_pipe_utils.h"
6 6
7 #include <stdint.h>
8
7 #include "base/files/file_path.h" 9 #include "base/files/file_path.h"
8 #include "base/files/file_util.h" 10 #include "base/files/file_util.h"
9 #include "base/files/scoped_file.h" 11 #include "base/files/scoped_file.h"
10 #include "base/location.h" 12 #include "base/location.h"
11 #include "base/task_runner_util.h" 13 #include "base/task_runner_util.h"
12 14
13 namespace mojo { 15 namespace mojo {
14 namespace common { 16 namespace common {
15 namespace { 17 namespace {
16 18
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 base::TaskRunner* task_runner, 72 base::TaskRunner* task_runner,
71 const base::Callback<void(bool)>& callback) { 73 const base::Callback<void(bool)>& callback) {
72 base::PostTaskAndReplyWithResult(task_runner, FROM_HERE, 74 base::PostTaskAndReplyWithResult(task_runner, FROM_HERE,
73 base::Bind(&BlockingCopyFromFile, source, 75 base::Bind(&BlockingCopyFromFile, source,
74 base::Passed(&destination), skip), 76 base::Passed(&destination), skip),
75 callback); 77 callback);
76 } 78 }
77 79
78 } // namespace common 80 } // namespace common
79 } // namespace mojo 81 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/common/data_pipe_drainer.cc ('k') | mojo/common/data_pipe_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698