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

Side by Side Diff: media/formats/mp2t/timestamp_unroller_unittest.cc

Issue 1181713004: Remove base/port.h includes that are not necessary anymore. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix win build Created 5 years, 6 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 | « media/base/bit_reader_core.cc ('k') | net/quic/quic_data_writer.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 <stdint.h> 5 #include <stdint.h>
6 #include <vector> 6 #include <vector>
7 7
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/port.h"
10 #include "base/test/perf_test_suite.h" 9 #include "base/test/perf_test_suite.h"
11 #include "media/formats/mp2t/timestamp_unroller.h" 10 #include "media/formats/mp2t/timestamp_unroller.h"
12 #include "testing/gtest/include/gtest/gtest.h" 11 #include "testing/gtest/include/gtest/gtest.h"
13 12
14 namespace media { 13 namespace media {
15 namespace mp2t { 14 namespace mp2t {
16 15
17 static std::vector<int64> TruncateTimestamps( 16 static std::vector<int64> TruncateTimestamps(
18 const std::vector<int64>& timestamps) { 17 const std::vector<int64>& timestamps) {
19 const int nbits = 33; 18 const int nbits = 33;
(...skipping 30 matching lines...) Expand all
50 INT64_C(0x00000003ffffff44), // + 0xaaaaaaab 49 INT64_C(0x00000003ffffff44), // + 0xaaaaaaab
51 }; 50 };
52 51
53 std::vector<int64> timestamps_vector( 52 std::vector<int64> timestamps_vector(
54 timestamps, timestamps + arraysize(timestamps)); 53 timestamps, timestamps + arraysize(timestamps));
55 RunUnrollTest(timestamps_vector); 54 RunUnrollTest(timestamps_vector);
56 } 55 }
57 56
58 } // namespace mp2t 57 } // namespace mp2t
59 } // namespace media 58 } // namespace media
OLDNEW
« no previous file with comments | « media/base/bit_reader_core.cc ('k') | net/quic/quic_data_writer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698