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

Side by Side Diff: mojo/message_pump/handle_watcher_perftest.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/message_pump/handle_watcher.cc ('k') | mojo/message_pump/handle_watcher_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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 <stdint.h>
6
5 #include <string> 7 #include <string>
6 #include <utility> 8 #include <utility>
7 9
8 #include "base/auto_reset.h" 10 #include "base/auto_reset.h"
9 #include "base/bind.h" 11 #include "base/bind.h"
12 #include "base/macros.h"
10 #include "base/memory/scoped_vector.h" 13 #include "base/memory/scoped_vector.h"
11 #include "base/run_loop.h" 14 #include "base/run_loop.h"
12 #include "base/time/time.h" 15 #include "base/time/time.h"
13 #include "mojo/message_pump/handle_watcher.h" 16 #include "mojo/message_pump/handle_watcher.h"
14 #include "mojo/message_pump/message_pump_mojo.h" 17 #include "mojo/message_pump/message_pump_mojo.h"
15 #include "mojo/public/cpp/test_support/test_support.h" 18 #include "mojo/public/cpp/test_support/test_support.h"
16 #include "mojo/public/cpp/test_support/test_utils.h" 19 #include "mojo/public/cpp/test_support/test_utils.h"
17 #include "testing/gtest/include/gtest/gtest.h" 20 #include "testing/gtest/include/gtest/gtest.h"
18 21
19 namespace mojo { 22 namespace mojo {
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 ASSERT_TRUE( 198 ASSERT_TRUE(
196 mojo::test::ReadTextMessage(pipe.handle0.get(), &received_message)); 199 mojo::test::ReadTextMessage(pipe.handle0.get(), &received_message));
197 EXPECT_EQ(kMessage, received_message); 200 EXPECT_EQ(kMessage, received_message);
198 received_message.clear(); 201 received_message.clear();
199 } 202 }
200 } 203 }
201 204
202 } // namespace test 205 } // namespace test
203 } // namespace common 206 } // namespace common
204 } // namespace mojo 207 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/message_pump/handle_watcher.cc ('k') | mojo/message_pump/handle_watcher_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698