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

Side by Side Diff: mojo/public/cpp/bindings/tests/associated_interface_unittest.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
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 <stddef.h>
6 #include <stdint.h>
7
5 #include <algorithm> 8 #include <algorithm>
6 9
7 #include "base/bind.h" 10 #include "base/bind.h"
8 #include "base/message_loop/message_loop.h" 11 #include "base/message_loop/message_loop.h"
9 #include "base/run_loop.h" 12 #include "base/run_loop.h"
10 #include "base/threading/thread.h" 13 #include "base/threading/thread.h"
11 #include "mojo/message_pump/message_pump_mojo.h" 14 #include "mojo/message_pump/message_pump_mojo.h"
12 #include "mojo/public/cpp/bindings/associated_binding.h" 15 #include "mojo/public/cpp/bindings/associated_binding.h"
13 #include "mojo/public/cpp/bindings/associated_group.h" 16 #include "mojo/public/cpp/bindings/associated_group.h"
14 #include "mojo/public/cpp/bindings/associated_interface_ptr.h" 17 #include "mojo/public/cpp/bindings/associated_interface_ptr.h"
(...skipping 539 matching lines...) Expand 10 before | Expand all | Expand 10 after
554 557
555 // The previous wait has dispatched the GetSender request message, therefore 558 // The previous wait has dispatched the GetSender request message, therefore
556 // an associated interface has been set up on the pipe. It is not allowed to 559 // an associated interface has been set up on the pipe. It is not allowed to
557 // wait or pause. 560 // wait or pause.
558 EXPECT_TRUE(connection.binding()->HasAssociatedInterfaces()); 561 EXPECT_TRUE(connection.binding()->HasAssociatedInterfaces());
559 } 562 }
560 563
561 } // namespace 564 } // namespace
562 } // namespace test 565 } // namespace test
563 } // namespace mojo 566 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/public/cpp/bindings/tests/array_unittest.cc ('k') | mojo/public/cpp/bindings/tests/binding_callback_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698