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

Side by Side Diff: third_party/WebKit/Source/modules/mediasession/MediaMetadata.h

Issue 2642823006: Move MediaMetadata timer to frame-specific TaskRunnerTimer. (Closed)
Patch Set: Move MediaMetadata timer to frame-specific TaskRunnerTimer. Created 3 years, 11 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/mediasession/MediaMetadata.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef MediaMetadata_h 5 #ifndef MediaMetadata_h
6 #define MediaMetadata_h 6 #define MediaMetadata_h
7 7
8 #include "bindings/core/v8/ScriptWrappable.h" 8 #include "bindings/core/v8/ScriptWrappable.h"
9 #include "modules/ModulesExport.h" 9 #include "modules/ModulesExport.h"
10 #include "platform/Timer.h" 10 #include "platform/Timer.h"
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 void setArtworkInternal(ScriptState*, 71 void setArtworkInternal(ScriptState*,
72 const HeapVector<MediaImage>&, 72 const HeapVector<MediaImage>&,
73 ExceptionState&); 73 ExceptionState&);
74 74
75 String m_title; 75 String m_title;
76 String m_artist; 76 String m_artist;
77 String m_album; 77 String m_album;
78 HeapVector<MediaImage> m_artwork; 78 HeapVector<MediaImage> m_artwork;
79 79
80 Member<MediaSession> m_session; 80 Member<MediaSession> m_session;
81 Timer<MediaMetadata> m_notifySessionTimer; 81 TaskRunnerTimer<MediaMetadata> m_notifySessionTimer;
82 }; 82 };
83 83
84 } // namespace blink 84 } // namespace blink
85 85
86 #endif // MediaMetadata_h 86 #endif // MediaMetadata_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/mediasession/MediaMetadata.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698