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

Unified Diff: third_party/WebKit/public/platform/modules/presentation/WebPresentationInfo.h

Issue 2737413003: [Presentation API] Remove references to presentation sessions. (Closed)
Patch Set: Update PresentationServiceDelegateImpl unittest Created 3 years, 9 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/public/platform/modules/presentation/WebPresentationInfo.h
diff --git a/third_party/WebKit/public/platform/modules/presentation/WebPresentationSessionInfo.h b/third_party/WebKit/public/platform/modules/presentation/WebPresentationInfo.h
similarity index 60%
rename from third_party/WebKit/public/platform/modules/presentation/WebPresentationSessionInfo.h
rename to third_party/WebKit/public/platform/modules/presentation/WebPresentationInfo.h
index db04a50bc96e0cbbb38efd5918a85db716ef03a6..a414c364f3379258bbe102dc3f746ebe7a7e787b 100644
--- a/third_party/WebKit/public/platform/modules/presentation/WebPresentationSessionInfo.h
+++ b/third_party/WebKit/public/platform/modules/presentation/WebPresentationInfo.h
@@ -2,21 +2,21 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef WebPresentationSessionInfo_h
-#define WebPresentationSessionInfo_h
+#ifndef WebPresentationInfo_h
+#define WebPresentationInfo_h
#include "public/platform/WebString.h"
#include "public/platform/WebURL.h"
namespace blink {
-// A simple wrapper around blink::mojom::PresentationSessionInfo. Since the
-// presentation API has not been Onion Soup-ed, there are portions implemented
+// A simple wrapper around blink::mojom::PresentationInfo. Since the
+// Presentation API has not been Onion Soup-ed, there are portions implemented
// in Blink and the embedder. Because it is not possible to use the STL and WTF
// mojo bindings alongside each other, going between Blink and the embedder
// requires this indirection.
-struct WebPresentationSessionInfo {
- WebPresentationSessionInfo(const WebURL& url, const WebString& id)
+struct WebPresentationInfo {
+ WebPresentationInfo(const WebURL& url, const WebString& id)
: url(url), id(id) {}
WebURL url;
WebString id;
@@ -24,4 +24,4 @@ struct WebPresentationSessionInfo {
} // namespace blink
-#endif // WebPresentationSessionInfo_h
+#endif // WebPresentationInfo_h

Powered by Google App Engine
This is Rietveld 408576698