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

Unified Diff: net/spdy/spdy_test_util_common.h

Issue 2109803002: Change a number of SPDY unittests from http to https. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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: net/spdy/spdy_test_util_common.h
diff --git a/net/spdy/spdy_test_util_common.h b/net/spdy/spdy_test_util_common.h
index 622d7ddc44abf7ac0bf0f4f739644af501d9b55e..acfeaee3d7a5862141960528e5b93080ec42bc93 100644
--- a/net/spdy/spdy_test_util_common.h
+++ b/net/spdy/spdy_test_util_common.h
@@ -53,7 +53,7 @@ class SpdyStreamRequest;
// Default upload data used by both, mock objects and framer when creating
// data frames.
-const char kDefaultURL[] = "http://www.example.org/";
+const char kDefaultUrl[] = "https://www.example.org/";
const char kUploadData[] = "hello!";
const int kUploadDataSize = arraysize(kUploadData)-1;
@@ -207,7 +207,6 @@ struct SpdySessionDependencies {
bool enable_priority_dependencies;
bool enable_spdy31;
bool enable_quic;
- bool enable_alternative_service_for_insecure_origins;
NextProto protocol;
size_t session_max_recv_window_size;
size_t stream_max_recv_window_size;
@@ -528,7 +527,6 @@ class SpdyTestUtil {
SpdyMajorVersion spdy_version() const { return spdy_version_; }
bool include_version_header() const { return protocol_ < kProtoHTTP2; }
- const GURL& default_url() const { return default_url_; }
void set_default_url(const GURL& url) { default_url_ = url; }
const char* GetMethodKey() const;

Powered by Google App Engine
This is Rietveld 408576698