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

Side by Side Diff: mojo/common/data_pipe_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 4 years, 12 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 | « mojo/common/data_pipe_utils.h ('k') | mojo/common/weak_binding_set.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 <stddef.h>
8 #include <stdint.h>
7 #include <stdio.h> 9 #include <stdio.h>
8 #include <utility> 10 #include <utility>
9 11
10 #include "base/files/file_path.h" 12 #include "base/files/file_path.h"
11 #include "base/files/file_util.h" 13 #include "base/files/file_util.h"
12 #include "base/files/scoped_file.h" 14 #include "base/files/scoped_file.h"
13 #include "base/message_loop/message_loop.h" 15 #include "base/message_loop/message_loop.h"
14 #include "base/task_runner_util.h" 16 #include "base/task_runner_util.h"
15 17
16 namespace mojo { 18 namespace mojo {
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 const base::Callback<void(bool)>& callback) { 122 const base::Callback<void(bool)>& callback) {
121 base::PostTaskAndReplyWithResult( 123 base::PostTaskAndReplyWithResult(
122 task_runner, 124 task_runner,
123 FROM_HERE, 125 FROM_HERE,
124 base::Bind(&BlockingCopyToFile, base::Passed(&source), destination), 126 base::Bind(&BlockingCopyToFile, base::Passed(&source), destination),
125 callback); 127 callback);
126 } 128 }
127 129
128 } // namespace common 130 } // namespace common
129 } // namespace mojo 131 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/common/data_pipe_utils.h ('k') | mojo/common/weak_binding_set.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698