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

Unified Diff: net/filter/source_stream.cc

Issue 2251853002: Add net::SourceStream and net::FilterSourceStream (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments Created 4 years, 3 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
Index: net/filter/source_stream.cc
diff --git a/net/cert/ocsp_revocation_status.h b/net/filter/source_stream.cc
similarity index 51%
copy from net/cert/ocsp_revocation_status.h
copy to net/filter/source_stream.cc
index 945104f26f613a9e38d7c6b59c2952873960b673..e2c4e6e2539fddfe2a54c19ce35fa39be5b9db4f 100644
--- a/net/cert/ocsp_revocation_status.h
+++ b/net/filter/source_stream.cc
@@ -2,17 +2,16 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef NET_CERT_OCSP_REVOCATION_STATUS_H
-#define NET_CERT_OCSP_REVOCATION_STATUS_H
+#include "net/filter/source_stream.h"
namespace net {
-enum class OCSPRevocationStatus {
- GOOD,
- REVOKED,
- UNKNOWN,
-};
+SourceStream::SourceStream(SourceType type) : type_(type) {}
-} // namespace net
+SourceStream::~SourceStream() {}
+
+std::string SourceStream::Description() const {
+ return "";
+}
-#endif // NET_CERT_OCSP_REVOCATION_STATUS_H
+} // namespace net

Powered by Google App Engine
This is Rietveld 408576698