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

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: fix win build Created 5 years, 5 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..1fa3507a7a5d5705ad5a084a02730251703c759f 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_; }
+ // Sets |output| to contain a copy of the data represented by this object.
+ void CopyToString(std::string* output) const;
Ryan Sleevi 2015/07/17 21:29:00 I think this would need to be UnsafeDataAsString()
mattm 2015/07/21 00:17:47 Changed to AsString(). I don't understand the Unsa
Ryan Sleevi 2015/07/30 02:30:12 Mostly so that no one futz's around with the data.
+
private:
const uint8_t* data_;
size_t len_;

Powered by Google App Engine
This is Rietveld 408576698