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

Side by Side Diff: chrome/renderer/webmediaplayer_impl.h

Issue 2847091: Fix bad license header under chrome/ directory. (Closed) Base URL: git://git.chromium.org/chromium.git
Patch Set: Created 10 years, 4 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 (c) 2008-2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be found 2 // Use of this source code is governed by a BSD-style license that can be
3 // in the LICENSE file. 3 // found in the LICENSE file.
4 // 4
5 // Delegate calls from WebCore::MediaPlayerPrivate to Chrome's video player. 5 // Delegate calls from WebCore::MediaPlayerPrivate to Chrome's video player.
6 // It contains PipelineImpl which is the actual media player pipeline, it glues 6 // It contains PipelineImpl which is the actual media player pipeline, it glues
7 // the media player pipeline, data source, audio renderer and renderer. 7 // the media player pipeline, data source, audio renderer and renderer.
8 // PipelineImpl would creates multiple threads and access some public methods 8 // PipelineImpl would creates multiple threads and access some public methods
9 // of this class, so we need to be extra careful about concurrent access of 9 // of this class, so we need to be extra careful about concurrent access of
10 // methods and members. 10 // methods and members.
11 // 11 //
12 // Properties that are shared by main thread and media threads: 12 // Properties that are shared by main thread and media threads:
13 // CancelableTaskList tasks_; 13 // CancelableTaskList tasks_;
14 // ^--- This property is shared for keeping records of the tasks posted to 14 // ^--- This property is shared for keeping records of the tasks posted to
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 // |main_loop_|. |tasks_| can be access from main thread or the media threads 194 // |main_loop_|. |tasks_| can be access from main thread or the media threads
195 // we need a lock for protecting it. 195 // we need a lock for protecting it.
196 Lock task_lock_; 196 Lock task_lock_;
197 typedef std::vector<CancelableTask*> CancelableTaskList; 197 typedef std::vector<CancelableTask*> CancelableTaskList;
198 CancelableTaskList tasks_; 198 CancelableTaskList tasks_;
199 199
200 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl); 200 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl);
201 }; 201 };
202 202
203 #endif // CHROME_RENDERER_WEBMEDIAPLAYER_IMPL_H_ 203 #endif // CHROME_RENDERER_WEBMEDIAPLAYER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698