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

Unified Diff: net/der/input.h

Issue 1125333005: RFC 2459 name comparison. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ios copy_test_data Created 5 years, 4 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/der/input.h
diff --git a/net/der/input.h b/net/der/input.h
index f8eb467a482dc765788c720da9e4ec6b9102522d..c0195ff15f89d5016dd322d95e7f5fd1659962ca 100644
--- a/net/der/input.h
+++ b/net/der/input.h
@@ -61,6 +61,9 @@ class NET_EXPORT_PRIVATE Input {
// is not an option.
const uint8_t* UnsafeData() const { return data_; }
+ // Returns a copy of the data represented by this object as a std::string.
+ std::string AsString() const;
+
private:
const uint8_t* data_;
size_t len_;

Powered by Google App Engine
This is Rietveld 408576698