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

Side by Side Diff: media/blink/webmediaplayer_impl.h

Issue 1658303002: Create abstract interface for media::Pipeline. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Separate PipelineImpl. Created 4 years, 10 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #ifndef MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ 5 #ifndef MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_
6 #define MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ 6 #define MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after
309 // setBufferingStrategy(). 309 // setBufferingStrategy().
310 BufferedDataSource::BufferingStrategy buffering_strategy_; 310 BufferedDataSource::BufferingStrategy buffering_strategy_;
311 311
312 // Task runner for posting tasks on Chrome's main thread. Also used 312 // Task runner for posting tasks on Chrome's main thread. Also used
313 // for DCHECKs so methods calls won't execute in the wrong thread. 313 // for DCHECKs so methods calls won't execute in the wrong thread.
314 const scoped_refptr<base::SingleThreadTaskRunner> main_task_runner_; 314 const scoped_refptr<base::SingleThreadTaskRunner> main_task_runner_;
315 315
316 scoped_refptr<base::SingleThreadTaskRunner> media_task_runner_; 316 scoped_refptr<base::SingleThreadTaskRunner> media_task_runner_;
317 scoped_refptr<base::TaskRunner> worker_task_runner_; 317 scoped_refptr<base::TaskRunner> worker_task_runner_;
318 scoped_refptr<MediaLog> media_log_; 318 scoped_refptr<MediaLog> media_log_;
319 Pipeline pipeline_; 319 PipelineImpl pipeline_;
320 320
321 // The LoadType passed in the |load_type| parameter of the load() call. 321 // The LoadType passed in the |load_type| parameter of the load() call.
322 LoadType load_type_; 322 LoadType load_type_;
323 323
324 // Cache of metadata for answering hasAudio(), hasVideo(), and naturalSize(). 324 // Cache of metadata for answering hasAudio(), hasVideo(), and naturalSize().
325 PipelineMetadata pipeline_metadata_; 325 PipelineMetadata pipeline_metadata_;
326 326
327 // Whether the video is known to be opaque or not. 327 // Whether the video is known to be opaque or not.
328 bool opaque_; 328 bool opaque_;
329 329
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
435 #endif 435 #endif
436 436
437 scoped_ptr<RendererFactory> renderer_factory_; 437 scoped_ptr<RendererFactory> renderer_factory_;
438 438
439 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl); 439 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl);
440 }; 440 };
441 441
442 } // namespace media 442 } // namespace media
443 443
444 #endif // MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ 444 #endif // MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698