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

Side by Side Diff: media/blink/buffered_data_source_host_impl_unittest.cc

Issue 1542013004: Switch to standard integer types in media/, take 2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more stddef 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 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 "base/macros.h"
5 #include "media/blink/buffered_data_source_host_impl.h" 6 #include "media/blink/buffered_data_source_host_impl.h"
6 #include "testing/gtest/include/gtest/gtest.h" 7 #include "testing/gtest/include/gtest/gtest.h"
7 8
8 namespace media { 9 namespace media {
9 10
10 class BufferedDataSourceHostImplTest : public testing::Test { 11 class BufferedDataSourceHostImplTest : public testing::Test {
11 public: 12 public:
12 BufferedDataSourceHostImplTest() {} 13 BufferedDataSourceHostImplTest() {}
13 14
14 void Add() { 15 void Add() {
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 EXPECT_EQ(1u, ranges_.size()); 67 EXPECT_EQ(1u, ranges_.size());
67 } 68 }
68 69
69 TEST_F(BufferedDataSourceHostImplTest, DidLoadingProgress) { 70 TEST_F(BufferedDataSourceHostImplTest, DidLoadingProgress) {
70 host_.AddBufferedByteRange(10, 20); 71 host_.AddBufferedByteRange(10, 20);
71 EXPECT_TRUE(host_.DidLoadingProgress()); 72 EXPECT_TRUE(host_.DidLoadingProgress());
72 EXPECT_FALSE(host_.DidLoadingProgress()); 73 EXPECT_FALSE(host_.DidLoadingProgress());
73 } 74 }
74 75
75 } // namespace media 76 } // namespace media
OLDNEW
« no previous file with comments | « media/blink/buffered_data_source_host_impl.h ('k') | media/blink/buffered_data_source_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698