diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-19 21:31:26 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-19 21:31:26 +0000 |
commit | e9ff79ccdf72412480abf22860924c3eedcc61f0 (patch) | |
tree | c85c010a58d15374fc7fc2d31f9c8f33e3f74ae3 /content/renderer/media/media_stream_impl_unittest.cc | |
parent | 5f23a1cf7f266005763a9c40ec4a422f7dc9b3bb (diff) | |
download | chromium_src-e9ff79ccdf72412480abf22860924c3eedcc61f0.zip chromium_src-e9ff79ccdf72412480abf22860924c3eedcc61f0.tar.gz chromium_src-e9ff79ccdf72412480abf22860924c3eedcc61f0.tar.bz2 |
Move a bunch of code in content\renderer to the content namespace.
Review URL: https://codereview.chromium.org/11232014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163061 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/renderer/media/media_stream_impl_unittest.cc')
-rw-r--r-- | content/renderer/media/media_stream_impl_unittest.cc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/content/renderer/media/media_stream_impl_unittest.cc b/content/renderer/media/media_stream_impl_unittest.cc index a280e8c..f80f2ed 100644 --- a/content/renderer/media/media_stream_impl_unittest.cc +++ b/content/renderer/media/media_stream_impl_unittest.cc @@ -19,6 +19,8 @@ #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h" #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebVector.h" +namespace content { + class MediaStreamImplUnderTest : public MediaStreamImpl { public: MediaStreamImplUnderTest(MediaStreamDispatcher* media_stream_dispatcher, @@ -77,8 +79,8 @@ class MediaStreamImplTest : public ::testing::Test { ms_dispatcher_->video_array()); WebKit::WebMediaStreamDescriptor desc = ms_impl_->last_generated_stream(); - MediaStreamExtraData* extra_data = static_cast<MediaStreamExtraData*>( - desc.extraData()); + content::MediaStreamExtraData* extra_data = + static_cast<content::MediaStreamExtraData*>(desc.extraData()); if (!extra_data || !extra_data->local_stream()) { ADD_FAILURE(); return desc; @@ -137,3 +139,5 @@ TEST_F(MediaStreamImplTest, LocalMediaStream) { ms_impl_->FrameWillClose(NULL); EXPECT_EQ(3, ms_dispatcher_->stop_stream_counter()); } + +} // namespace content |