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

Side by Side Diff: mojo/public/cpp/bindings/lib/multiplex_router.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 "mojo/public/cpp/bindings/lib/multiplex_router.h" 5 #include "mojo/public/cpp/bindings/lib/multiplex_router.h"
6 6
7 #include <stdint.h>
8
7 #include <utility> 9 #include <utility>
8 10
9 #include "base/bind.h" 11 #include "base/bind.h"
12 #include "base/macros.h"
10 #include "base/message_loop/message_loop.h" 13 #include "base/message_loop/message_loop.h"
11 #include "base/stl_util.h" 14 #include "base/stl_util.h"
12 #include "mojo/public/cpp/bindings/associated_group.h" 15 #include "mojo/public/cpp/bindings/associated_group.h"
13 #include "mojo/public/cpp/bindings/lib/interface_endpoint_client.h" 16 #include "mojo/public/cpp/bindings/lib/interface_endpoint_client.h"
14 17
15 namespace mojo { 18 namespace mojo {
16 namespace internal { 19 namespace internal {
17 20
18 // InterfaceEndpoint stores the information of an interface endpoint registered 21 // InterfaceEndpoint stores the information of an interface endpoint registered
19 // with the router. Always accessed under the router's lock. 22 // with the router. Always accessed under the router's lock.
(...skipping 506 matching lines...) Expand 10 before | Expand all | Expand 10 after
526 } 529 }
527 530
528 void MultiplexRouter::RaiseErrorInNonTestingMode() { 531 void MultiplexRouter::RaiseErrorInNonTestingMode() {
529 lock_.AssertAcquired(); 532 lock_.AssertAcquired();
530 if (!testing_mode_) 533 if (!testing_mode_)
531 RaiseError(); 534 RaiseError();
532 } 535 }
533 536
534 } // namespace internal 537 } // namespace internal
535 } // namespace mojo 538 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/public/cpp/bindings/lib/multiplex_router.h ('k') | mojo/public/cpp/bindings/lib/native_serialization.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698