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

Unified Diff: third_party/WebKit/Source/modules/mediasession/MediaArtwork.cpp

Issue 2394223002: Rename MediaArtwork -> MediaImage (Closed)
Patch Set: rebased Created 4 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/mediasession/MediaArtwork.cpp
diff --git a/third_party/WebKit/Source/modules/mediasession/MediaArtwork.cpp b/third_party/WebKit/Source/modules/mediasession/MediaArtwork.cpp
deleted file mode 100644
index 5aa9fd8eaf45d2f3248993ad5186bc35bd4dc0af..0000000000000000000000000000000000000000
--- a/third_party/WebKit/Source/modules/mediasession/MediaArtwork.cpp
+++ /dev/null
@@ -1,38 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "modules/mediasession/MediaArtwork.h"
-
-#include "core/dom/ExecutionContext.h"
-#include "modules/mediasession/MediaArtworkInit.h"
-#include "wtf/text/WTFString.h"
-
-namespace blink {
-
-// static
-MediaArtwork* MediaArtwork::create(ExecutionContext* context,
- const MediaArtworkInit& artwork) {
- return new MediaArtwork(context, artwork);
-}
-
-MediaArtwork::MediaArtwork(ExecutionContext* context,
- const MediaArtworkInit& artwork) {
- m_src = context->completeURL(artwork.src());
- m_sizes = artwork.sizes();
- m_type = artwork.type();
-}
-
-String MediaArtwork::src() const {
- return m_src;
-}
-
-String MediaArtwork::sizes() const {
- return m_sizes;
-}
-
-String MediaArtwork::type() const {
- return m_type;
-}
-
-} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698