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

Unified Diff: media/cast/transport/utility/transport_encryption_handler.h

Issue 314593002: [Cast] Cleanup: Remove TransportXXXXXSender, an unnecessary layer of indirection. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix CastTransportHostFilterTest.SimpleMessages. Created 6 years, 6 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 | « media/cast/transport/transport_video_sender.cc ('k') | media/cast/video_sender/video_sender.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/transport/utility/transport_encryption_handler.h
diff --git a/media/cast/transport/utility/transport_encryption_handler.h b/media/cast/transport/utility/transport_encryption_handler.h
index dd740be2077dca7f50edfc03d7d068bcd04a6bce..06d0e3f34d61fc18efd9489d130510c0c46b8cc8 100644
--- a/media/cast/transport/utility/transport_encryption_handler.h
+++ b/media/cast/transport/utility/transport_encryption_handler.h
@@ -37,6 +37,9 @@ class TransportEncryptionHandler : public base::NonThreadSafe {
const base::StringPiece& ciphertext,
std::string* plaintext);
+ // TODO(miu): This naming is very misleading. It should be called
+ // is_activated() since Initialize() without keys (i.e., cypto is disabled)
+ // may have succeeded.
bool initialized() const { return initialized_; }
private:
« no previous file with comments | « media/cast/transport/transport_video_sender.cc ('k') | media/cast/video_sender/video_sender.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698