Index: net/spdy/spdy_proxy_client_socket_unittest.cc |
diff --git a/net/spdy/spdy_proxy_client_socket_unittest.cc b/net/spdy/spdy_proxy_client_socket_unittest.cc |
index c42ff3f6de021da903ffce4ee48fe40e89a52a7b..64d38ae0e059da2022f12d3ca4671ae70e254528 100644 |
--- a/net/spdy/spdy_proxy_client_socket_unittest.cc |
+++ b/net/spdy/spdy_proxy_client_socket_unittest.cc |
@@ -28,6 +28,7 @@ |
#include "net/spdy/spdy_test_util_common.h" |
#include "testing/gtest/include/gtest/gtest.h" |
#include "testing/platform_test.h" |
+#include "url/origin.h" |
//----------------------------------------------------------------------------- |
@@ -98,12 +99,9 @@ class SpdyProxyClientSocketTest |
void AddAuthToCache() { |
const base::string16 kFoo(base::ASCIIToUTF16("foo")); |
const base::string16 kBar(base::ASCIIToUTF16("bar")); |
- session_->http_auth_cache()->Add(GURL(kProxyUrl), |
- "MyRealm1", |
- HttpAuth::AUTH_SCHEME_BASIC, |
- "Basic realm=MyRealm1", |
- AuthCredentials(kFoo, kBar), |
- "/"); |
+ session_->http_auth_cache()->Add( |
+ url::Origin(kProxyUrl), "MyRealm1", HttpAuth::AUTH_SCHEME_BASIC, |
+ "Basic realm=MyRealm1", AuthCredentials(kFoo, kBar), "/"); |
} |
void Run(int steps) { |