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

Unified Diff: chrome/browser/safe_browsing/protocol_parser.h

Issue 1870003002: Convert //chrome/browser/safe_browsing from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and address comments Created 4 years, 8 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: chrome/browser/safe_browsing/protocol_parser.h
diff --git a/chrome/browser/safe_browsing/protocol_parser.h b/chrome/browser/safe_browsing/protocol_parser.h
index c743b836c5f2e8c04381b24a853cc0c15c572645..ae356a22b1e9f1d2c002fb1a38eb1b2fb3d7ebca 100644
--- a/chrome/browser/safe_browsing/protocol_parser.h
+++ b/chrome/browser/safe_browsing/protocol_parser.h
@@ -45,7 +45,7 @@ bool ParseUpdate(const char* chunk_data,
// results should be discarded.
bool ParseChunk(const char* chunk_data,
size_t chunk_len,
- std::vector<scoped_ptr<SBChunkData>>* chunks);
+ std::vector<std::unique_ptr<SBChunkData>>* chunks);
// Parse body of "HTTP Response for Full-Length Hashes", returning the list of
// full hashes. Returns |false| if the data could not be parsed correctly, in
« no previous file with comments | « chrome/browser/safe_browsing/protocol_manager_unittest.cc ('k') | chrome/browser/safe_browsing/protocol_parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698