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

Side by Side Diff: third_party/WebKit/Source/modules/mediarecorder/MediaRecorder.cpp

Issue 2801083003: Rewrite references to "wtf/" to "platform/wtf/" in modules. (Closed)
Patch Set: Rebase again^3. Will try landing directly. Created 3 years, 8 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "modules/mediarecorder/MediaRecorder.h" 5 #include "modules/mediarecorder/MediaRecorder.h"
6 6
7 #include <algorithm>
8 #include <limits>
7 #include "bindings/core/v8/Dictionary.h" 9 #include "bindings/core/v8/Dictionary.h"
8 #include "core/events/Event.h" 10 #include "core/events/Event.h"
9 #include "core/fileapi/Blob.h" 11 #include "core/fileapi/Blob.h"
10 #include "core/inspector/ConsoleMessage.h" 12 #include "core/inspector/ConsoleMessage.h"
11 #include "modules/EventTargetModules.h" 13 #include "modules/EventTargetModules.h"
12 #include "modules/mediarecorder/BlobEvent.h" 14 #include "modules/mediarecorder/BlobEvent.h"
13 #include "platform/blob/BlobData.h" 15 #include "platform/blob/BlobData.h"
14 #include "platform/network/mime/ContentType.h" 16 #include "platform/network/mime/ContentType.h"
17 #include "platform/wtf/CurrentTime.h"
18 #include "platform/wtf/PtrUtil.h"
15 #include "public/platform/Platform.h" 19 #include "public/platform/Platform.h"
16 #include "public/platform/WebMediaStream.h" 20 #include "public/platform/WebMediaStream.h"
17 #include "wtf/CurrentTime.h"
18 #include "wtf/PtrUtil.h"
19 #include <algorithm>
20 #include <limits>
21 21
22 namespace blink { 22 namespace blink {
23 23
24 namespace { 24 namespace {
25 25
26 const char* g_k_default_mime_type = "video/webm"; 26 const char* g_k_default_mime_type = "video/webm";
27 27
28 // Boundaries of Opus bitrate from https://www.opus-codec.org/. 28 // Boundaries of Opus bitrate from https://www.opus-codec.org/.
29 const int kSmallestPossibleOpusBitRate = 6000; 29 const int kSmallestPossibleOpusBitRate = 6000;
30 const int kLargestAutoAllocatedOpusBitRate = 128000; 30 const int kLargestAutoAllocatedOpusBitRate = 128000;
(...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after
389 389
390 DEFINE_TRACE(MediaRecorder) { 390 DEFINE_TRACE(MediaRecorder) {
391 visitor->Trace(stream_); 391 visitor->Trace(stream_);
392 visitor->Trace(dispatch_scheduled_event_runner_); 392 visitor->Trace(dispatch_scheduled_event_runner_);
393 visitor->Trace(scheduled_events_); 393 visitor->Trace(scheduled_events_);
394 EventTargetWithInlineData::Trace(visitor); 394 EventTargetWithInlineData::Trace(visitor);
395 SuspendableObject::Trace(visitor); 395 SuspendableObject::Trace(visitor);
396 } 396 }
397 397
398 } // namespace blink 398 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698