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

Side by Side Diff: blimp/net/blimp_transport.h

Issue 1696563002: Blimp: add support for SSL connections. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Reland (safe_json issue fixed). Created 4 years, 9 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 unified diff | Download patch
« no previous file with comments | « blimp/net/DEPS ('k') | blimp/net/exact_match_cert_verifier.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef BLIMP_NET_BLIMP_TRANSPORT_H_ 5 #ifndef BLIMP_NET_BLIMP_TRANSPORT_H_
6 #define BLIMP_NET_BLIMP_TRANSPORT_H_ 6 #define BLIMP_NET_BLIMP_TRANSPORT_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 17 matching lines...) Expand all
28 // * net::OK if a connection is established successful, the BlimpConnection 28 // * net::OK if a connection is established successful, the BlimpConnection
29 // can be taken by calling TakeConnection(). 29 // can be taken by calling TakeConnection().
30 // * net::ERR_IO_PENDING will never be the outcome 30 // * net::ERR_IO_PENDING will never be the outcome
31 // * Other error code indicates no connection was established. 31 // * Other error code indicates no connection was established.
32 virtual void Connect(const net::CompletionCallback& callback) = 0; 32 virtual void Connect(const net::CompletionCallback& callback) = 0;
33 33
34 // Returns the connection object after a successful Connect(). 34 // Returns the connection object after a successful Connect().
35 virtual scoped_ptr<BlimpConnection> TakeConnection() = 0; 35 virtual scoped_ptr<BlimpConnection> TakeConnection() = 0;
36 36
37 // Gets transport name, e.g. "TCP", "SSL", "mock", etc. 37 // Gets transport name, e.g. "TCP", "SSL", "mock", etc.
38 virtual const std::string GetName() const = 0; 38 virtual const char* GetName() const = 0;
39 }; 39 };
40 40
41 } // namespace blimp 41 } // namespace blimp
42 42
43 #endif // BLIMP_NET_BLIMP_TRANSPORT_H_ 43 #endif // BLIMP_NET_BLIMP_TRANSPORT_H_
OLDNEW
« no previous file with comments | « blimp/net/DEPS ('k') | blimp/net/exact_match_cert_verifier.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698