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

Side by Side Diff: device/bluetooth/bluetooth_audio_sink_bluez_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 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 | « device/bluetooth/bluetooth_audio_sink.h ('k') | device/bluetooth/bluetooth_bluez_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 <stddef.h>
6 #include <stdint.h>
7
5 #include <vector> 8 #include <vector>
6 9
7 #include "base/bind.h" 10 #include "base/bind.h"
8 #include "base/logging.h" 11 #include "base/logging.h"
9 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
10 #include "base/message_loop/message_loop.h" 13 #include "base/message_loop/message_loop.h"
11 #include "dbus/object_path.h" 14 #include "dbus/object_path.h"
12 #include "device/bluetooth/bluetooth_adapter.h" 15 #include "device/bluetooth/bluetooth_adapter.h"
13 #include "device/bluetooth/bluetooth_adapter_factory.h" 16 #include "device/bluetooth/bluetooth_adapter_factory.h"
14 #include "device/bluetooth/bluetooth_audio_sink.h" 17 #include "device/bluetooth/bluetooth_audio_sink.h"
(...skipping 921 matching lines...) Expand 10 before | Expand all | Expand 10 after
936 message_loop_.RunUntilIdle(); 939 message_loop_.RunUntilIdle();
937 940
938 EXPECT_EQ(observer_->data_, data_two); 941 EXPECT_EQ(observer_->data_, data_two);
939 EXPECT_EQ(observer_->read_mtu_, 942 EXPECT_EQ(observer_->read_mtu_,
940 FakeBluetoothMediaTransportClient::kDefaultReadMtu); 943 FakeBluetoothMediaTransportClient::kDefaultReadMtu);
941 EXPECT_EQ(observer_->state_changed_count_, 3); 944 EXPECT_EQ(observer_->state_changed_count_, 3);
942 EXPECT_EQ(observer_->total_read_, data_one.size() + data_two.size()); 945 EXPECT_EQ(observer_->total_read_, data_one.size() + data_two.size());
943 } 946 }
944 947
945 } // namespace bluez 948 } // namespace bluez
OLDNEW
« no previous file with comments | « device/bluetooth/bluetooth_audio_sink.h ('k') | device/bluetooth/bluetooth_bluez_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698