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

Unified Diff: content/public/browser/presentation_session.h

Issue 2386633003: [Media Router] Convert MediaRouter to use GURL for presentation URLs. (Closed)
Patch Set: Respond to dcheng@ comment 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: content/public/browser/presentation_session.h
diff --git a/content/public/browser/presentation_session.h b/content/public/browser/presentation_session.h
index 8662f3049205d6f65fb08911eae31f29187c7020..8e5eb54676d349921ea4872aa2c93fd359a0a9dd 100644
--- a/content/public/browser/presentation_session.h
+++ b/content/public/browser/presentation_session.h
@@ -8,6 +8,7 @@
#include <string>
#include "content/common/content_export.h"
+#include "url/gurl.h"
namespace content {
@@ -30,11 +31,11 @@ enum PresentationConnectionCloseReason {
// Represents a presentation session that has been established via either
// browser actions or Presentation API.
struct CONTENT_EXPORT PresentationSessionInfo {
- PresentationSessionInfo(const std::string& presentation_url,
+ PresentationSessionInfo(const GURL& presentation_url,
const std::string& presentation_id);
~PresentationSessionInfo();
- const std::string presentation_url;
+ const GURL presentation_url;
const std::string presentation_id;
};
« no previous file with comments | « content/public/browser/presentation_service_delegate.h ('k') | content/public/browser/presentation_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698