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

Side by Side Diff: media/filters/file_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 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 | « media/filters/file_data_source.h ('k') | media/filters/frame_processor.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 <string> 7 #include <string>
6 8
7 #include "base/base_paths.h" 9 #include "base/base_paths.h"
8 #include "base/bind.h" 10 #include "base/bind.h"
9 #include "base/files/file_path.h" 11 #include "base/files/file_path.h"
12 #include "base/macros.h"
10 #include "base/path_service.h" 13 #include "base/path_service.h"
11 #include "base/strings/utf_string_conversions.h" 14 #include "base/strings/utf_string_conversions.h"
12 #include "media/base/test_helpers.h" 15 #include "media/base/test_helpers.h"
13 #include "media/filters/file_data_source.h" 16 #include "media/filters/file_data_source.h"
14 17
15 using ::testing::NiceMock; 18 using ::testing::NiceMock;
16 using ::testing::StrictMock; 19 using ::testing::StrictMock;
17 20
18 namespace media { 21 namespace media {
19 22
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 77
75 EXPECT_CALL(handler, ReadCB(5)); 78 EXPECT_CALL(handler, ReadCB(5));
76 data_source.Read(5, 10, ten_bytes, base::Bind( 79 data_source.Read(5, 10, ten_bytes, base::Bind(
77 &ReadCBHandler::ReadCB, base::Unretained(&handler))); 80 &ReadCBHandler::ReadCB, base::Unretained(&handler)));
78 EXPECT_EQ('5', ten_bytes[0]); 81 EXPECT_EQ('5', ten_bytes[0]);
79 82
80 data_source.Stop(); 83 data_source.Stop();
81 } 84 }
82 85
83 } // namespace media 86 } // namespace media
OLDNEW
« no previous file with comments | « media/filters/file_data_source.h ('k') | media/filters/frame_processor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698