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

Side by Side Diff: mojo/edk/test/test_utils.h

Issue 1352723002: Remove several unneeded includes from mojo/edk/test_utils.h. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 3 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 | « no previous file | mojo/edk/test/test_utils_posix.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_EDK_TEST_TEST_UTILS_H_ 5 #ifndef MOJO_EDK_TEST_TEST_UTILS_H_
6 #define MOJO_EDK_TEST_TEST_UTILS_H_ 6 #define MOJO_EDK_TEST_TEST_UTILS_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdio.h>
10
11 #include <string>
12 9
13 #include "mojo/edk/embedder/platform_handle.h" 10 #include "mojo/edk/embedder/platform_handle.h"
14 #include "mojo/edk/embedder/scoped_platform_handle.h" 11 #include "mojo/edk/embedder/scoped_platform_handle.h"
15 #include "mojo/edk/util/scoped_file.h" 12 #include "mojo/edk/util/scoped_file.h"
16 13
17 namespace mojo { 14 namespace mojo {
18 namespace test { 15 namespace test {
19 16
20 // On success, |bytes_written| is updated to the number of bytes written; 17 // On success, |bytes_written| is updated to the number of bytes written;
21 // otherwise it is untouched. 18 // otherwise it is untouched.
(...skipping 22 matching lines...) Expand all
44 embedder::ScopedPlatformHandle PlatformHandleFromFILE(util::ScopedFILE fp); 41 embedder::ScopedPlatformHandle PlatformHandleFromFILE(util::ScopedFILE fp);
45 42
46 // Gets a (scoped) |FILE| from a (scoped) |PlatformHandle|. 43 // Gets a (scoped) |FILE| from a (scoped) |PlatformHandle|.
47 util::ScopedFILE FILEFromPlatformHandle(embedder::ScopedPlatformHandle h, 44 util::ScopedFILE FILEFromPlatformHandle(embedder::ScopedPlatformHandle h,
48 const char* mode); 45 const char* mode);
49 46
50 } // namespace test 47 } // namespace test
51 } // namespace mojo 48 } // namespace mojo
52 49
53 #endif // MOJO_EDK_TEST_TEST_UTILS_H_ 50 #endif // MOJO_EDK_TEST_TEST_UTILS_H_
OLDNEW
« no previous file with comments | « no previous file | mojo/edk/test/test_utils_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698