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

Unified Diff: third_party/WebKit/Source/modules/presentation/PresentationConnection.h

Issue 2327993002: [PresentationAPI] Use KURL and WebURL in place of string types. (Closed)
Patch Set: Address imcheng@ comments Created 4 years, 3 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/presentation/PresentationConnection.h
diff --git a/third_party/WebKit/Source/modules/presentation/PresentationConnection.h b/third_party/WebKit/Source/modules/presentation/PresentationConnection.h
index 1731c31f5d134ec6673995a052983857beb939b0..64d233500eb70409ca63c25bd418c2ff4252add5 100644
--- a/third_party/WebKit/Source/modules/presentation/PresentationConnection.h
+++ b/third_party/WebKit/Source/modules/presentation/PresentationConnection.h
@@ -10,6 +10,7 @@
#include "core/fileapi/FileError.h"
#include "core/frame/DOMWindowProperty.h"
#include "platform/heap/Handle.h"
+#include "platform/weborigin/KURL.h"
#include "public/platform/modules/presentation/WebPresentationConnectionClient.h"
#include "wtf/text/WTFString.h"
#include <memory>
@@ -97,7 +98,7 @@ private:
class Message;
- PresentationConnection(LocalFrame*, const String& id, const String& url);
+ PresentationConnection(LocalFrame*, const String& id, const KURL&);
bool canSendMessage(ExceptionState&);
void handleMessageQueue();
@@ -110,7 +111,7 @@ private:
void tearDown();
String m_id;
- String m_url;
+ KURL m_url;
WebPresentationConnectionState m_state;
// For Blob data handling.

Powered by Google App Engine
This is Rietveld 408576698