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

Unified Diff: net/test/spawned_test_server/base_test_server.h

Issue 1058003004: Forget SSL error exceptions when good certs seen for regular requests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Changed browser test to use TestRootCerts Created 5 years, 8 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/test/spawned_test_server/base_test_server.h
diff --git a/net/test/spawned_test_server/base_test_server.h b/net/test/spawned_test_server/base_test_server.h
index f146d5c48a8410b43f923713348b53bcc1fd0071..d5b0d90dec610106d6ffc6a0133b2472bc273af8 100644
--- a/net/test/spawned_test_server/base_test_server.h
+++ b/net/test/spawned_test_server/base_test_server.h
@@ -257,6 +257,10 @@ class BaseTestServer {
ws_basic_auth_ = ws_basic_auth;
}
+ // Marks the root certificate of an HTTPS test server as trusted for
+ // the duration of tests.
+ bool LoadTestRootCert() const WARN_UNUSED_RESULT;
Ryan Sleevi 2015/04/09 20:55:48 STYLE: Reorder the .cc if you reorder the .h
jww 2015/04/16 23:59:07 Done.
+
protected:
virtual ~BaseTestServer();
Type type() const { return type_; }
@@ -295,10 +299,6 @@ class BaseTestServer {
private:
void Init(const std::string& host);
- // Marks the root certificate of an HTTPS test server as trusted for
- // the duration of tests.
- bool LoadTestRootCert() const WARN_UNUSED_RESULT;
-
// Document root of the test server.
base::FilePath document_root_;
« content/browser/ssl/ssl_policy_backend.h ('K') | « content/public/browser/ssl_host_state_delegate.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698