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

Side by Side Diff: media/blink/buffered_data_source_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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 <stdint.h>
6
5 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/macros.h"
6 #include "base/message_loop/message_loop.h" 9 #include "base/message_loop/message_loop.h"
7 #include "base/run_loop.h" 10 #include "base/run_loop.h"
8 #include "media/base/media_log.h" 11 #include "media/base/media_log.h"
9 #include "media/base/mock_filters.h" 12 #include "media/base/mock_filters.h"
10 #include "media/base/test_helpers.h" 13 #include "media/base/test_helpers.h"
11 #include "media/blink/buffered_data_source.h" 14 #include "media/blink/buffered_data_source.h"
12 #include "media/blink/mock_webframeclient.h" 15 #include "media/blink/mock_webframeclient.h"
13 #include "media/blink/mock_weburlloader.h" 16 #include "media/blink/mock_weburlloader.h"
14 #include "media/blink/test_response_generator.h" 17 #include "media/blink/test_response_generator.h"
15 #include "third_party/WebKit/public/platform/WebURLResponse.h" 18 #include "third_party/WebKit/public/platform/WebURLResponse.h"
(...skipping 1001 matching lines...) Expand 10 before | Expand all | Expand 10 after
1017 // Read a bit from the beginning. 1020 // Read a bit from the beginning.
1018 ReadAt(0); 1021 ReadAt(0);
1019 EXPECT_CALL(*this, ReadCallback(kDataSize)); 1022 EXPECT_CALL(*this, ReadCallback(kDataSize));
1020 EXPECT_CALL(host_, AddBufferedByteRange(0, kDataSize - 1)); 1023 EXPECT_CALL(host_, AddBufferedByteRange(0, kDataSize - 1));
1021 ReceiveData(kDataSize); 1024 ReceiveData(kDataSize);
1022 1025
1023 EXPECT_FALSE(active_loader()); 1026 EXPECT_FALSE(active_loader());
1024 } 1027 }
1025 1028
1026 } // namespace media 1029 } // namespace media
OLDNEW
« no previous file with comments | « media/blink/buffered_data_source_host_impl_unittest.cc ('k') | media/blink/buffered_resource_loader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698