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

Unified Diff: net/quic/crypto/channel_id_chromium.h

Issue 992733002: Remove //net (except for Android test stuff) and sdch (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/quic/crypto/channel_id.cc ('k') | net/quic/crypto/channel_id_chromium.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/crypto/channel_id_chromium.h
diff --git a/net/quic/crypto/channel_id_chromium.h b/net/quic/crypto/channel_id_chromium.h
deleted file mode 100644
index 20a1d8d7aa84041d6bd7d85409ff250b260d0907..0000000000000000000000000000000000000000
--- a/net/quic/crypto/channel_id_chromium.h
+++ /dev/null
@@ -1,63 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef NET_QUIC_CRYPTO_CHANNEL_ID_CHROMIUM_H_
-#define NET_QUIC_CRYPTO_CHANNEL_ID_CHROMIUM_H_
-
-#include <set>
-
-#include "net/quic/crypto/channel_id.h"
-
-namespace crypto {
-class ECPrivateKey;
-} // namespace crypto
-
-namespace net {
-
-class ChannelIDService;
-
-class NET_EXPORT_PRIVATE ChannelIDKeyChromium: public ChannelIDKey {
- public:
- explicit ChannelIDKeyChromium(crypto::ECPrivateKey* ec_private_key);
- ~ChannelIDKeyChromium() override;
-
- // ChannelIDKey interface
- bool Sign(base::StringPiece signed_data,
- std::string* out_signature) const override;
- std::string SerializeKey() const override;
-
- private:
- scoped_ptr<crypto::ECPrivateKey> ec_private_key_;
-};
-
-// ChannelIDSourceChromium implements the QUIC ChannelIDSource interface.
-class ChannelIDSourceChromium : public ChannelIDSource {
- public:
- explicit ChannelIDSourceChromium(
- ChannelIDService* channel_id_service);
- ~ChannelIDSourceChromium() override;
-
- // ChannelIDSource interface
- QuicAsyncStatus GetChannelIDKey(const std::string& hostname,
- scoped_ptr<ChannelIDKey>* channel_id_key,
- ChannelIDSourceCallback* callback) override;
-
- private:
- class Job;
- typedef std::set<Job*> JobSet;
-
- void OnJobComplete(Job* job);
-
- // Set owning pointers to active jobs.
- JobSet active_jobs_;
-
- // The service for retrieving Channel ID keys.
- ChannelIDService* const channel_id_service_;
-
- DISALLOW_COPY_AND_ASSIGN(ChannelIDSourceChromium);
-};
-
-} // namespace net
-
-#endif // NET_QUIC_CRYPTO_CHANNEL_ID_CHROMIUM_H_
« no previous file with comments | « net/quic/crypto/channel_id.cc ('k') | net/quic/crypto/channel_id_chromium.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698