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

Side by Side Diff: third_party/WebKit/Source/core/html/media/AutoplayUmaHelper.cpp

Issue 2812013004: Rewrite references to "wtf/" to "platform/wtf/" in core/{dom,html,xml}. (Closed)
Patch Set: 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 "core/html/media/AutoplayUmaHelper.h" 5 #include "core/html/media/AutoplayUmaHelper.h"
6 6
7 #include "core/dom/Document.h" 7 #include "core/dom/Document.h"
8 #include "core/dom/ElementVisibilityObserver.h" 8 #include "core/dom/ElementVisibilityObserver.h"
9 #include "core/events/Event.h" 9 #include "core/events/Event.h"
10 #include "core/frame/Settings.h" 10 #include "core/frame/Settings.h"
11 #include "core/html/HTMLMediaElement.h" 11 #include "core/html/HTMLMediaElement.h"
12 #include "platform/Histogram.h" 12 #include "platform/Histogram.h"
13 #include "platform/wtf/CurrentTime.h"
13 #include "public/platform/Platform.h" 14 #include "public/platform/Platform.h"
14 #include "wtf/CurrentTime.h"
15 15
16 namespace blink { 16 namespace blink {
17 17
18 namespace { 18 namespace {
19 19
20 const int32_t kMaxOffscreenDurationUmaMS = 60 * 60 * 1000; 20 const int32_t kMaxOffscreenDurationUmaMS = 60 * 60 * 1000;
21 const int32_t kOffscreenDurationUmaBucketCount = 50; 21 const int32_t kOffscreenDurationUmaBucketCount = 50;
22 22
23 } // namespace 23 } // namespace
24 24
(...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after
389 389
390 DEFINE_TRACE(AutoplayUmaHelper) { 390 DEFINE_TRACE(AutoplayUmaHelper) {
391 EventListener::Trace(visitor); 391 EventListener::Trace(visitor);
392 ContextLifecycleObserver::Trace(visitor); 392 ContextLifecycleObserver::Trace(visitor);
393 visitor->Trace(element_); 393 visitor->Trace(element_);
394 visitor->Trace(muted_video_play_method_visibility_observer_); 394 visitor->Trace(muted_video_play_method_visibility_observer_);
395 visitor->Trace(muted_video_offscreen_duration_visibility_observer_); 395 visitor->Trace(muted_video_offscreen_duration_visibility_observer_);
396 } 396 }
397 397
398 } // namespace blink 398 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/imports/LinkImport.h ('k') | third_party/WebKit/Source/core/html/media/HTMLMediaSource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698