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

Side by Side Diff: mojo/shell/data_pipe_peek.h

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/shell/connect_to_application_params.h ('k') | mojo/shell/data_pipe_peek.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 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 #ifndef MOJO_SHELL_DATA_PIPE_PEEK_H_ 5 #ifndef MOJO_SHELL_DATA_PIPE_PEEK_H_
6 #define MOJO_SHELL_DATA_PIPE_PEEK_H_ 6 #define MOJO_SHELL_DATA_PIPE_PEEK_H_
7 7
8 #include <stddef.h>
9
8 #include <string> 10 #include <string>
9 11
10 #include "mojo/public/cpp/system/core.h" 12 #include "mojo/public/cpp/system/core.h"
11 13
12 namespace mojo { 14 namespace mojo {
13 namespace shell { 15 namespace shell {
14 16
15 // The Peek functions are only intended to be used by the 17 // The Peek functions are only intended to be used by the
16 // DyanmicApplicationLoader class for discovering the type of a 18 // DyanmicApplicationLoader class for discovering the type of a
17 // URL response. They are a stopgap to be replaced by real support 19 // URL response. They are a stopgap to be replaced by real support
(...skipping 11 matching lines...) Expand all
29 // if the timeout is exceeded. 31 // if the timeout is exceeded.
30 bool BlockingPeekNBytes(DataPipeConsumerHandle source, 32 bool BlockingPeekNBytes(DataPipeConsumerHandle source,
31 std::string* bytes, 33 std::string* bytes,
32 size_t bytes_length, 34 size_t bytes_length,
33 MojoDeadline timeout); 35 MojoDeadline timeout);
34 36
35 } // namespace shell 37 } // namespace shell
36 } // namespace mojo 38 } // namespace mojo
37 39
38 #endif // MOJO_SHELL_DATA_PIPE_PEEK_H_ 40 #endif // MOJO_SHELL_DATA_PIPE_PEEK_H_
OLDNEW
« no previous file with comments | « mojo/shell/connect_to_application_params.h ('k') | mojo/shell/data_pipe_peek.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698