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

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

Issue 42165: Remove unneeded platform_thread.h includes. Reduces number of includes from 5... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 9 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 | « chrome/browser/net/dns_master_unittest.cc ('k') | net/base/ssl_test_util.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) 2006-2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2009 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 <string> 5 #include <string>
6 6
7 #include "base/platform_thread.h"
8 #include "base/time.h" 7 #include "base/time.h"
9 #include "base/waitable_event.h" 8 #include "base/waitable_event.h"
10 #include "media/base/pipeline_impl.h" 9 #include "media/base/pipeline_impl.h"
11 #include "media/base/media_format.h" 10 #include "media/base/media_format.h"
12 #include "media/base/filters.h" 11 #include "media/base/filters.h"
13 #include "media/base/factory.h" 12 #include "media/base/factory.h"
14 #include "media/base/filter_host.h" 13 #include "media/base/filter_host.h"
15 #include "media/base/mock_media_filters.h" 14 #include "media/base/mock_media_filters.h"
16 #include "testing/gtest/include/gtest/gtest.h" 15 #include "testing/gtest/include/gtest/gtest.h"
17 16
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 config.has_video = false; 144 config.has_video = false;
146 AddAllMockFilters(c, &config); 145 AddAllMockFilters(c, &config);
147 InitializationHelper h; 146 InitializationHelper h;
148 h.Start(&p, c, url, media::PIPELINE_ERROR_COULD_NOT_RENDER); 147 h.Start(&p, c, url, media::PIPELINE_ERROR_COULD_NOT_RENDER);
149 p.Stop(); 148 p.Stop();
150 } 149 }
151 150
152 // TODO(ralphl): Add a unit test that makes sure that the mock audio filter 151 // TODO(ralphl): Add a unit test that makes sure that the mock audio filter
153 // is actually called on a SetVolume() call to the pipeline. I almost checked 152 // is actually called on a SetVolume() call to the pipeline. I almost checked
154 // in code that broke this, but all unit tests were passing. 153 // in code that broke this, but all unit tests were passing.
OLDNEW
« no previous file with comments | « chrome/browser/net/dns_master_unittest.cc ('k') | net/base/ssl_test_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698