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

Unified Diff: media/filters/pipeline_integration_test.cc

Issue 297703002: Using GURL in place of std::string for destination_url (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 7 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 | « media/cdm/ppapi/external_clear_key/clear_key_cdm.cc ('k') | media/media.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/pipeline_integration_test.cc
diff --git a/media/filters/pipeline_integration_test.cc b/media/filters/pipeline_integration_test.cc
index d3caa1ea9075e45cf3ad7c66307d8535da12624e..8e42b8c8db07a4d666226688e658cc225f4b6a02 100644
--- a/media/filters/pipeline_integration_test.cc
+++ b/media/filters/pipeline_integration_test.cc
@@ -119,7 +119,7 @@ class FakeEncryptedMedia {
virtual void OnSessionMessage(uint32 session_id,
const std::vector<uint8>& message,
- const std::string& destination_url) = 0;
+ const GURL& destination_url) = 0;
virtual void OnSessionReady(uint32 session_id) = 0;
@@ -161,7 +161,7 @@ class FakeEncryptedMedia {
void OnSessionMessage(uint32 session_id,
const std::vector<uint8>& message,
- const std::string& destination_url) {
+ const GURL& destination_url) {
app_->OnSessionMessage(session_id, message, destination_url);
}
@@ -202,7 +202,7 @@ class KeyProvidingApp : public FakeEncryptedMedia::AppBase {
virtual void OnSessionMessage(uint32 session_id,
const std::vector<uint8>& message,
- const std::string& default_url) OVERRIDE {
+ const GURL& default_url) OVERRIDE {
EXPECT_GT(session_id, 0u);
EXPECT_FALSE(message.empty());
@@ -329,7 +329,7 @@ class NoResponseApp : public FakeEncryptedMedia::AppBase {
virtual void OnSessionMessage(uint32 session_id,
const std::vector<uint8>& message,
- const std::string& default_url) OVERRIDE {
+ const GURL& default_url) OVERRIDE {
EXPECT_GT(session_id, 0u);
EXPECT_FALSE(message.empty());
FAIL() << "Unexpected KeyMessage";
« no previous file with comments | « media/cdm/ppapi/external_clear_key/clear_key_cdm.cc ('k') | media/media.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698