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

Unified Diff: media/cast/common/transport_encryption_handler.h

Issue 1360523002: Cleanup: Pass std::string as const reference from media/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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: media/cast/common/transport_encryption_handler.h
diff --git a/media/cast/common/transport_encryption_handler.h b/media/cast/common/transport_encryption_handler.h
index d4798dc78b5656728f5d5d9268a96b9dba83a923..d71dc49c35ebb5e75c5df1edf9b539a0292ad64c 100644
--- a/media/cast/common/transport_encryption_handler.h
+++ b/media/cast/common/transport_encryption_handler.h
@@ -26,7 +26,7 @@ class TransportEncryptionHandler : public base::NonThreadSafe {
TransportEncryptionHandler();
~TransportEncryptionHandler();
- bool Initialize(std::string aes_key, std::string aes_iv_mask);
+ bool Initialize(const std::string& aes_key, const std::string& aes_iv_mask);
bool Encrypt(uint32 frame_id,
const base::StringPiece& data,
« no previous file with comments | « media/capture/video/linux/video_capture_device_linux.cc ('k') | media/cast/common/transport_encryption_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698