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

Side by Side Diff: device/serial/data_sink_unittest.cc

Issue 1542163002: Switch to standard integer types in device/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: win Created 5 years 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 | « device/serial/data_sink_receiver.h ('k') | device/serial/data_source_sender.h » ('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 #include <stddef.h>
6 #include <stdint.h>
7
5 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/macros.h"
6 #include "base/message_loop/message_loop.h" 10 #include "base/message_loop/message_loop.h"
7 #include "base/run_loop.h" 11 #include "base/run_loop.h"
8 #include "base/strings/string_piece.h" 12 #include "base/strings/string_piece.h"
9 #include "device/serial/data_sender.h" 13 #include "device/serial/data_sender.h"
10 #include "device/serial/data_sink_receiver.h" 14 #include "device/serial/data_sink_receiver.h"
11 #include "device/serial/data_stream.mojom.h" 15 #include "device/serial/data_stream.mojom.h"
12 #include "mojo/public/cpp/bindings/interface_ptr.h" 16 #include "mojo/public/cpp/bindings/interface_ptr.h"
13 #include "mojo/public/cpp/environment/async_waiter.h" 17 #include "mojo/public/cpp/environment/async_waiter.h"
14 #include "testing/gtest/include/gtest/gtest.h" 18 #include "testing/gtest/include/gtest/gtest.h"
15 19
(...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after
403 sender_.reset(); 407 sender_.reset();
404 ExpectSendError(0, kFatalError); 408 ExpectSendError(0, kFatalError);
405 ExpectSendError(0, kFatalError); 409 ExpectSendError(0, kFatalError);
406 ExpectCancelResult(); 410 ExpectCancelResult();
407 if (!seen_connection_error_) 411 if (!seen_connection_error_)
408 WaitForEvent(EVENT_ERROR); 412 WaitForEvent(EVENT_ERROR);
409 EXPECT_TRUE(seen_connection_error_); 413 EXPECT_TRUE(seen_connection_error_);
410 } 414 }
411 415
412 } // namespace device 416 } // namespace device
OLDNEW
« no previous file with comments | « device/serial/data_sink_receiver.h ('k') | device/serial/data_source_sender.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698