Chromium Code Reviews| Index: components/safe_browsing_db/v4_protocol_manager_util.h |
| diff --git a/components/safe_browsing_db/v4_protocol_manager_util.h b/components/safe_browsing_db/v4_protocol_manager_util.h |
| index 7b510de3dedf59396fa290aebdfe411106bfd1b5..5f0469543df5f4b33a378d8a859510abe9d6176b 100644 |
| --- a/components/safe_browsing_db/v4_protocol_manager_util.h |
| +++ b/components/safe_browsing_db/v4_protocol_manager_util.h |
| @@ -58,7 +58,7 @@ struct UpdateListIdentifier { |
| ThreatType threat_type; |
| UpdateListIdentifier(PlatformType, ThreatEntryType, ThreatType); |
| - UpdateListIdentifier(const ListUpdateResponse&); |
| + UpdateListIdentifier(const ListUpdateResponse*); |
|
Scott Hess - ex-Googler
2016/06/28 03:58:43
Should this be explicit? The change to pointer ma
vakh (use Gerrit instead)
2016/06/28 21:34:14
Not sure what you mean by that. What could be the
vakh (use Gerrit instead)
2016/06/28 21:59:48
nparker@ told me that you probable meant the use o
Scott Hess - ex-Googler
2016/06/28 22:22:25
What I meant by explicit was the keyword, and why
vakh (use Gerrit instead)
2016/06/29 19:58:52
Done. Thanks for pointing it out.
|
| bool operator==(const UpdateListIdentifier& other) const; |
| bool operator!=(const UpdateListIdentifier& other) const; |
| @@ -82,6 +82,9 @@ typedef base::hash_map<UpdateListIdentifier, std::string> StoreFileNameMap; |
| // Represents the state of each store. |
| typedef base::hash_map<UpdateListIdentifier, std::string> StoreStateMap; |
| +// Sever response, parsed in vector form. |
| +typedef std::vector<std::unique_ptr<ListUpdateResponse>> ParsedServerResponse; |
| + |
| // Enumerate failures for histogramming purposes. DO NOT CHANGE THE |
| // ORDERING OF THESE VALUES. |
| enum V4OperationResult { |