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

Unified Diff: net/http/bidirectional_stream.h

Issue 1550843002: Convert enable_bidirectional_stream into build flag local to net. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove #include net_features.h from public headers. Created 5 years 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/bidirectional_stream.h
diff --git a/net/http/bidirectional_stream.h b/net/http/bidirectional_stream.h
index 14063fb0e47758ff6441e161caeb5855dd86a6d0..0cb3a15d3834706c46b951d09cb83330b6a9456b 100644
--- a/net/http/bidirectional_stream.h
+++ b/net/http/bidirectional_stream.h
@@ -14,10 +14,6 @@
#include "net/http/http_stream_factory.h"
#include "net/log/net_log.h"
-#if !defined(ENABLE_BIDIRECTIONAL_STREAM)
-#error Only include this if ENABLE_BIDIRECTIONAL_STREAM is defined
Nico 2015/12/30 22:36:21 This is still important, else we'll get linker err
mef 2015/12/30 23:20:46 Ack, I'm open for suggestions.
Nico 2015/12/30 23:25:32 "Don't remove this"? :-) What breaks if you keep i
mef 2015/12/30 23:42:04 Compilation of components/cronet because it has to
mmenke 2016/01/04 18:43:13 The code to declare the build flag is a "public" d
mef 2016/01/04 20:19:54 Hrm, IIUIC move of enable_bidirectional_stream fla
-#endif
-
class GURL;
namespace net {

Powered by Google App Engine
This is Rietveld 408576698