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

Unified Diff: content/public/test/browser_side_navigation_test_utils.cc

Issue 2368913002: Fix stream errors that occur after a stream starts not propagating. (Closed)
Patch Set: review comments Created 4 years, 3 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
« no previous file with comments | « content/browser/streams/stream_url_request_job_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/browser_side_navigation_test_utils.cc
diff --git a/content/public/test/browser_side_navigation_test_utils.cc b/content/public/test/browser_side_navigation_test_utils.cc
index 93f8927daa629d9ac84b7d5b7db157f75a46fec3..58058b6ad204b65775d27fb76ea6d7680940d2cb 100644
--- a/content/public/test/browser_side_navigation_test_utils.cc
+++ b/content/public/test/browser_side_navigation_test_utils.cc
@@ -14,6 +14,7 @@
#include "content/public/browser/stream_handle.h"
#include "content/public/common/content_switches.h"
#include "content/test/test_navigation_url_loader_factory.h"
+#include "net/base/net_errors.h"
namespace content {
@@ -62,7 +63,7 @@ std::unique_ptr<StreamHandle> MakeEmptyStream() {
StreamRegistry* stream_registry =
browser_side_navigation_test_utils.Get()->stream_registry();
scoped_refptr<Stream> stream(new Stream(stream_registry, NULL, url));
- stream->Finalize();
+ stream->Finalize(net::OK);
return stream->CreateHandle();
}
« no previous file with comments | « content/browser/streams/stream_url_request_job_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698