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

Side by Side Diff: media/base/pipeline_unittest.cc

Issue 24579003: Clean up remaining unused globals (on mac). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: staticmedia Created 7 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « media/base/audio_renderer_mixer_unittest.cc ('k') | media/cdm/aes_decryptor_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 (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 <vector> 5 #include <vector>
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/message_loop/message_loop.h" 8 #include "base/message_loop/message_loop.h"
9 #include "base/stl_util.h" 9 #include "base/stl_util.h"
10 #include "base/test/simple_test_tick_clock.h" 10 #include "base/test/simple_test_tick_clock.h"
(...skipping 18 matching lines...) Expand all
29 using ::testing::Mock; 29 using ::testing::Mock;
30 using ::testing::NotNull; 30 using ::testing::NotNull;
31 using ::testing::Return; 31 using ::testing::Return;
32 using ::testing::SaveArg; 32 using ::testing::SaveArg;
33 using ::testing::StrictMock; 33 using ::testing::StrictMock;
34 using ::testing::WithArg; 34 using ::testing::WithArg;
35 35
36 namespace media { 36 namespace media {
37 37
38 // Demuxer properties. 38 // Demuxer properties.
39 static const int kTotalBytes = 1024; 39 const int kTotalBytes = 1024;
40 static const int kBitrate = 1234;
41 40
42 ACTION_P(SetDemuxerProperties, duration) { 41 ACTION_P(SetDemuxerProperties, duration) {
43 arg0->SetTotalBytes(kTotalBytes); 42 arg0->SetTotalBytes(kTotalBytes);
44 arg0->SetDuration(duration); 43 arg0->SetDuration(duration);
45 } 44 }
46 45
47 ACTION_P2(Stop, pipeline, stop_cb) { 46 ACTION_P2(Stop, pipeline, stop_cb) {
48 pipeline->Stop(stop_cb); 47 pipeline->Stop(stop_cb);
49 } 48 }
50 49
(...skipping 1133 matching lines...) Expand 10 before | Expand all | Expand 10 after
1184 INSTANTIATE_TEARDOWN_TEST(Error, Pausing); 1183 INSTANTIATE_TEARDOWN_TEST(Error, Pausing);
1185 INSTANTIATE_TEARDOWN_TEST(Error, Flushing); 1184 INSTANTIATE_TEARDOWN_TEST(Error, Flushing);
1186 INSTANTIATE_TEARDOWN_TEST(Error, Seeking); 1185 INSTANTIATE_TEARDOWN_TEST(Error, Seeking);
1187 INSTANTIATE_TEARDOWN_TEST(Error, Prerolling); 1186 INSTANTIATE_TEARDOWN_TEST(Error, Prerolling);
1188 INSTANTIATE_TEARDOWN_TEST(Error, Starting); 1187 INSTANTIATE_TEARDOWN_TEST(Error, Starting);
1189 INSTANTIATE_TEARDOWN_TEST(Error, Playing); 1188 INSTANTIATE_TEARDOWN_TEST(Error, Playing);
1190 1189
1191 INSTANTIATE_TEARDOWN_TEST(ErrorAndStop, Playing); 1190 INSTANTIATE_TEARDOWN_TEST(ErrorAndStop, Playing);
1192 1191
1193 } // namespace media 1192 } // namespace media
OLDNEW
« no previous file with comments | « media/base/audio_renderer_mixer_unittest.cc ('k') | media/cdm/aes_decryptor_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698