Chromium Code Reviews (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out

Unified Diff: net/http/

Issue 2093873002: Unwind fallback metrics and SSLFailureState. (Closed) Base URL:
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/http/
diff --git a/net/http/ b/net/http/
index e6a37d10462f1e408643c32f2fea96a228955f52..b447774e64f07c332ef38a808cc837796d7ec4f6 100644
--- a/net/http/
+++ b/net/http/
@@ -14,7 +14,6 @@
#include "net/proxy/proxy_info.h"
#include "net/proxy/proxy_service.h"
#include "net/spdy/spdy_test_util_common.h"
-#include "net/ssl/ssl_failure_state.h"
#include "testing/gtest/include/gtest/gtest.h"
using testing::_;
@@ -56,10 +55,9 @@ TEST_P(HttpStreamFactoryImplRequestTest, SetPriority) {
EXPECT_EQ(MEDIUM, job_controller->main_job()->priority());
- EXPECT_CALL(request_delegate, OnStreamFailed(_, _, SSL_FAILURE_NONE))
- .Times(1);
+ EXPECT_CALL(request_delegate, OnStreamFailed(_, _)).Times(1);
job_controller->OnStreamFailed(job_factory.main_job(), ERR_FAILED,
+ SSLConfig());
EXPECT_EQ(IDLE, job_controller->main_job()->priority());

Powered by Google App Engine
This is Rietveld 408576698