diff options
author | Thai Duong <thaidn@google.com> | 2017-10-25 10:59:07 -0700 |
---|---|---|
committer | Thai Duong <thaidn@google.com> | 2017-10-25 23:46:19 -0700 |
commit | 82bdfb4ca462e2cdf64f4748bc99642d24946c33 (patch) | |
tree | 2d4555c1dec5d328c32ab838e4414495d49af327 /cc/hybrid_decrypt.h | |
parent | 3fd5d31d766412a4191839e08d0ee712dfe408f7 (diff) | |
download | tink-82bdfb4ca462e2cdf64f4748bc99642d24946c33.tar.gz |
Replacing google::protobuf::StringPiece with absl::string_view.
Change-Id: I0e0d9245e50a5d98b6e261f07c886d72cf97afd5
ORIGINAL_AUTHOR=Thai Duong <thaidn@google.com>
GitOrigin-RevId: cc4c8808cdf631449679a26f94e289008d0d5b71
Diffstat (limited to 'cc/hybrid_decrypt.h')
-rw-r--r-- | cc/hybrid_decrypt.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cc/hybrid_decrypt.h b/cc/hybrid_decrypt.h index 2b9f778a3..4022fe176 100644 --- a/cc/hybrid_decrypt.h +++ b/cc/hybrid_decrypt.h @@ -17,8 +17,8 @@ #ifndef TINK_HYBRID_DECRYPT_H_ #define TINK_HYBRID_DECRYPT_H_ +#include "absl/strings/string_view.h" #include "cc/util/statusor.h" -#include "google/protobuf/stubs/stringpiece.h" namespace crypto { namespace tink { @@ -50,8 +50,8 @@ class HybridDecrypt { public: // Decrypts 'ciphertext' verifying the integrity of 'context_info'. virtual crypto::tink::util::StatusOr<std::string> Decrypt( - google::protobuf::StringPiece ciphertext, - google::protobuf::StringPiece context_info) const = 0; + absl::string_view ciphertext, + absl::string_view context_info) const = 0; virtual ~HybridDecrypt() {} }; |