Add a command line switch to enable flip sockets.
With this change, flip code is now compiled
and the limited unit tests actually run.

BUG=none
TEST=none

Review URL: http://codereview.chromium.org/259064

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28793 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/net/http/http_network_layer.h b/net/http/http_network_layer.h
index 7defb4e..7344c7b 100644
--- a/net/http/http_network_layer.h
+++ b/net/http/http_network_layer.h
@@ -50,6 +50,9 @@
   virtual HttpNetworkSession* GetSession();
   virtual void Suspend(bool suspend);
 
+  // Enable the flip protocol.  Default is false.
+  static void EnableFlip(bool enable);
+
  private:
   // The factory we will use to create network sockets.
   ClientSocketFactory* socket_factory_;
@@ -64,6 +67,7 @@
 
   scoped_refptr<HttpNetworkSession> session_;
   bool suspended_;
+  static bool enable_flip_;
 };
 
 }  // namespace net