Index: components/safe_browsing_db/v4_get_hash_protocol_manager.h |
diff --git a/components/safe_browsing_db/v4_get_hash_protocol_manager.h b/components/safe_browsing_db/v4_get_hash_protocol_manager.h |
index c80f2da773f2d1489438d41e85060667c1b4f8f6..d65e1a656db1f2c568983403c96b116198aa3f31 100644 |
--- a/components/safe_browsing_db/v4_get_hash_protocol_manager.h |
+++ b/components/safe_browsing_db/v4_get_hash_protocol_manager.h |
@@ -14,6 +14,7 @@ |
#include <memory> |
#include <string> |
+#include <utility> |
#include <vector> |
#include "base/gtest_prod_util.h" |
@@ -138,7 +139,9 @@ class V4GetHashProtocolManager : public net::URLFetcherDelegate, |
private: |
// Map of GetHash requests to parameters which created it. |
- typedef base::hash_map<const net::URLFetcher*, FullHashCallback> HashRequests; |
+ using HashRequests = base::hash_map< |
+ const net::URLFetcher*, |
+ std::pair<std::unique_ptr<net::URLFetcher>, FullHashCallback>>; |
// The factory that controls the creation of V4GetHashProtocolManager. |
// This is used by tests. |