diff options
author | yujie.mao@intel.com <yujie.mao@intel.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-25 14:43:36 +0000 |
---|---|---|
committer | yujie.mao@intel.com <yujie.mao@intel.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-25 14:43:36 +0000 |
commit | ce5a4394991e4d4a0a739d927fba9edac057f61f (patch) | |
tree | 2ea0c5e9bd07b97944e78bfb662a23ca1ea2ae6f /content/common/media | |
parent | 23af3c75a68c44717e5a4e761716aa8548e13afc (diff) | |
download | chromium_src-ce5a4394991e4d4a0a739d927fba9edac057f61f.zip chromium_src-ce5a4394991e4d4a0a739d927fba9edac057f61f.tar.gz chromium_src-ce5a4394991e4d4a0a739d927fba9edac057f61f.tar.bz2 |
Cleanup: [WebRTC] Use GURL type to replace the std::string type of security origin
BUG=None
TEST=content_unittests, html <video> local capture preview
Review URL: https://chromiumcodereview.appspot.com/10442008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139034 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/common/media')
-rw-r--r-- | content/common/media/media_stream_messages.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/content/common/media/media_stream_messages.h b/content/common/media/media_stream_messages.h index 3a6f9a1..1f87b10 100644 --- a/content/common/media/media_stream_messages.h +++ b/content/common/media/media_stream_messages.h @@ -9,6 +9,7 @@ #include "content/common/content_export.h" #include "content/common/media/media_stream_options.h" +#include "googleurl/src/gurl.h" #include "ipc/ipc_message_macros.h" #undef IPC_MESSAGE_EXPORT @@ -81,7 +82,7 @@ IPC_MESSAGE_CONTROL4(MediaStreamHostMsg_GenerateStream, int /* render view id */, int /* request id */, media_stream::StreamOptions /* options */, - std::string /* security origin */) + GURL /* security origin */) // Request to cancel the request for a new media stream. IPC_MESSAGE_CONTROL2(MediaStreamHostMsg_CancelGenerateStream, @@ -98,7 +99,7 @@ IPC_MESSAGE_CONTROL4(MediaStreamHostMsg_EnumerateDevices, int /* render view id */, int /* request id */, media_stream::MediaStreamType /* type */, - std::string /* security origin */) + GURL /* security origin */) // Request to open the device. IPC_MESSAGE_CONTROL5(MediaStreamHostMsg_OpenDevice, @@ -106,4 +107,4 @@ IPC_MESSAGE_CONTROL5(MediaStreamHostMsg_OpenDevice, int /* request id */, std::string /* device_id */, media_stream::MediaStreamType /* type */, - std::string /* security origin */) + GURL /* security origin */) |