Chromium Code Reviews| Index: chrome/browser/instant/instant_test_utils.h |
| diff --git a/chrome/browser/instant/instant_test_utils.h b/chrome/browser/instant/instant_test_utils.h |
| index 7a1880a0393e0b6bf88ca818c947e5545028173e..61153a035c32dabfb1be0708b022d05505eba152 100644 |
| --- a/chrome/browser/instant/instant_test_utils.h |
| +++ b/chrome/browser/instant/instant_test_utils.h |
| @@ -38,6 +38,15 @@ class InstantTestModelObserver : public InstantModelObserver { |
| }; |
| class InstantTestBase : public InProcessBrowserTest { |
| + public: |
| + InstantTestBase() { |
| + // Initialize (but not Start()) the test HTTPS server. |
| + https_test_server_ = new net::TestServer( |
|
sreeram
2013/02/01 22:03:24
You could make this an initializer:
InstantTestBas
Mathieu
2013/02/04 20:37:36
Done.
|
| + net::TestServer::TYPE_HTTPS, |
| + net::BaseTestServer::SSLOptions(), |
| + FilePath(FILE_PATH_LITERAL("chrome/test/data"))); |
| + } |
| + |
| protected: |
| void SetupInstant(); |
| void SetupInstantUsingTemplateURL(); |
| @@ -72,6 +81,9 @@ class InstantTestBase : public InProcessBrowserTest { |
| bool expected) WARN_UNUSED_RESULT; |
| GURL instant_url_; |
| + |
| + // HTTPS Testing server, started on demand. |
| + net::TestServer* https_test_server_; |
| }; |
| #endif // CHROME_BROWSER_INSTANT_INSTANT_TEST_UTILS_H_ |