[Android WebView] Fix webview perf bot switchover to use org.chromium.webview_shell...
[chromium-blink-merge.git] / net / quic / crypto / proof_source_chromium.h
blob45deb66c68748e9afcb8320f3244e50c0347237c
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef NET_QUIC_CRYPTO_PROOF_SOURCE_CHROMIUM_H_
6 #define NET_QUIC_CRYPTO_PROOF_SOURCE_CHROMIUM_H_
8 #include <string>
9 #include <vector>
11 #include "base/basictypes.h"
12 #include "base/compiler_specific.h"
13 #include "net/base/net_export.h"
14 #include "net/quic/crypto/proof_source.h"
16 namespace net {
18 // ProofSourceChromium implements the QUIC ProofSource interface.
19 // TODO(rtenneti): implement details of this class.
20 class NET_EXPORT_PRIVATE ProofSourceChromium : public ProofSource {
21 public:
22 ProofSourceChromium();
23 ~ProofSourceChromium() override {}
25 // ProofSource interface
26 bool GetProof(const IPAddressNumber& server_ip,
27 const std::string& hostname,
28 const std::string& server_config,
29 bool ecdsa_ok,
30 const std::vector<std::string>** out_certs,
31 std::string* out_signature) override;
33 private:
34 DISALLOW_COPY_AND_ASSIGN(ProofSourceChromium);
37 } // namespace net
39 #endif // NET_QUIC_CRYPTO_PROOF_SOURCE_CHROMIUM_H_