BookmarkManager: Fix 'new folder text field size changes on clicking it' issue.
[chromium-blink-merge.git] / media / blink / webmediaplayer_params.cc
blob5d88f8713818f3484f428dc457575d0c6c4c9457
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
3 // found in the LICENSE file.
5 #include "media/blink/webmediaplayer_params.h"
7 #include "base/single_thread_task_runner.h"
8 #include "base/task_runner.h"
9 #include "media/base/audio_renderer_sink.h"
10 #include "media/base/media_log.h"
12 namespace media {
14 WebMediaPlayerParams::WebMediaPlayerParams(
15 const DeferLoadCB& defer_load_cb,
16 const scoped_refptr<AudioRendererSink>& audio_renderer_sink,
17 const scoped_refptr<MediaLog>& media_log,
18 const scoped_refptr<base::SingleThreadTaskRunner>& media_task_runner,
19 const scoped_refptr<base::TaskRunner>& worker_task_runner,
20 const scoped_refptr<base::SingleThreadTaskRunner>& compositor_task_runner,
21 const Context3DCB& context_3d_cb,
22 MediaPermission* media_permission,
23 blink::WebContentDecryptionModule* initial_cdm)
24 : defer_load_cb_(defer_load_cb),
25 audio_renderer_sink_(audio_renderer_sink),
26 media_log_(media_log),
27 media_task_runner_(media_task_runner),
28 worker_task_runner_(worker_task_runner),
29 compositor_task_runner_(compositor_task_runner),
30 context_3d_cb_(context_3d_cb),
31 media_permission_(media_permission),
32 initial_cdm_(initial_cdm) {}
34 WebMediaPlayerParams::~WebMediaPlayerParams() {}
36 } // namespace media