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

Side by Side Diff: content/renderer/media/rtc_video_decoder.cc

Issue 7193001: Move rtc_video_decoder* from media/filter/ to content/renderer/media/. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "media/filters/rtc_video_decoder.h" 5 #include "content/renderer/media/rtc_video_decoder.h"
6 6
7 #include <deque> 7 #include <deque>
8 8
9 #include "base/task.h" 9 #include "base/task.h"
10 #include "googleurl/src/gurl.h" 10 #include "googleurl/src/gurl.h"
11 #include "media/base/callback.h" 11 #include "media/base/callback.h"
12 #include "media/base/filter_host.h" 12 #include "media/base/filter_host.h"
13 #include "media/base/filters.h" 13 #include "media/base/filters.h"
14 #include "media/base/limits.h" 14 #include "media/base/limits.h"
15 #include "media/base/media_format.h" 15 #include "media/base/media_format.h"
16 #include "media/base/video_frame.h" 16 #include "media/base/video_frame.h"
17 17
18 namespace media { 18 namespace media {
scherkus (not reviewing) 2011/06/17 00:31:46 ditto
Ronghua 2011/06/24 21:08:51 Done.
19 19
20 static const char kMediaScheme[] = "media"; 20 static const char kMediaScheme[] = "media";
21 21
22 RTCVideoDecoder::RTCVideoDecoder(MessageLoop* message_loop, 22 RTCVideoDecoder::RTCVideoDecoder(MessageLoop* message_loop,
23 const std::string& url) 23 const std::string& url)
24 : message_loop_(message_loop), 24 : message_loop_(message_loop),
25 width_(176), 25 width_(176),
26 height_(144), 26 height_(144),
27 url_(url), 27 url_(url),
28 state_(kUnInitialized) { 28 state_(kUnInitialized) {
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 268
269 return 0; 269 return 0;
270 } 270 }
271 271
272 bool RTCVideoDecoder::IsUrlSupported(const std::string& url) { 272 bool RTCVideoDecoder::IsUrlSupported(const std::string& url) {
273 GURL gurl(url); 273 GURL gurl(url);
274 return gurl.SchemeIs(kMediaScheme); 274 return gurl.SchemeIs(kMediaScheme);
275 } 275 }
276 276
277 } // namespace media 277 } // namespace media
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698