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

Unified Diff: content/common/media/media_stream_messages.h

Issue 1928493002: Use url::Origin to represent security origins in MediaStream-related code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 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
« no previous file with comments | « content/browser/speech/speech_recognition_manager_impl.cc ('k') | content/public/browser/media_device_id.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/media/media_stream_messages.h
diff --git a/content/common/media/media_stream_messages.h b/content/common/media/media_stream_messages.h
index 46acb9b55a8e2083148cdf61c1ea81b16756ae3a..9a745a14b0369e423f0d16cbb7ac784285010c4d 100644
--- a/content/common/media/media_stream_messages.h
+++ b/content/common/media/media_stream_messages.h
@@ -11,7 +11,7 @@
#include "content/common/media/media_stream_options.h"
#include "ipc/ipc_message_macros.h"
#include "ipc/ipc_platform_file.h"
-#include "url/gurl.h"
+#include "url/origin.h"
#undef IPC_MESSAGE_EXPORT
#define IPC_MESSAGE_EXPORT CONTENT_EXPORT
@@ -102,7 +102,7 @@ IPC_MESSAGE_CONTROL5(MediaStreamHostMsg_GenerateStream,
int /* render frame id */,
int /* request id */,
content::StreamControls /* controls */,
- GURL /* security origin */,
+ url::Origin /* security origin */,
bool /* user_gesture */)
// Request to cancel the request for a new media stream.
@@ -121,7 +121,7 @@ IPC_MESSAGE_CONTROL4(MediaStreamHostMsg_EnumerateDevices,
int /* render frame id */,
int /* request id */,
content::MediaStreamType /* type */,
- GURL /* security origin */)
+ url::Origin /* security origin */)
// Request to stop enumerating devices.
IPC_MESSAGE_CONTROL2(MediaStreamHostMsg_CancelEnumerateDevices,
@@ -134,7 +134,7 @@ IPC_MESSAGE_CONTROL5(MediaStreamHostMsg_OpenDevice,
int /* request id */,
std::string /* device_id */,
content::MediaStreamType /* type */,
- GURL /* security origin */)
+ url::Origin /* security origin */)
// Request to close a device.
IPC_MESSAGE_CONTROL2(MediaStreamHostMsg_CloseDevice,
« no previous file with comments | « content/browser/speech/speech_recognition_manager_impl.cc ('k') | content/public/browser/media_device_id.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698