Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / safe_browsing / protocol_manager.h
index 91693ae..ae357f8 100644 (file)
@@ -36,19 +36,6 @@ class URLFetcher;
 class URLRequestContextGetter;
 }  // namespace net
 
-#if defined(COMPILER_GCC)
-// Allows us to use URLFetchers in a hash_map with gcc (MSVC is okay without
-// specifying this).
-namespace BASE_HASH_NAMESPACE {
-template<>
-struct hash<const net::URLFetcher*> {
-  size_t operator()(const net::URLFetcher* fetcher) const {
-    return reinterpret_cast<size_t>(fetcher);
-  }
-};
-}
-#endif
-
 class SBProtocolManagerFactory;
 class SafeBrowsingProtocolManagerDelegate;
 
@@ -64,7 +51,7 @@ class SafeBrowsingProtocolManager : public net::URLFetcherDelegate,
   typedef base::Callback<void(const std::vector<SBFullHashResult>&,
                               const base::TimeDelta&)> FullHashCallback;
 
-  virtual ~SafeBrowsingProtocolManager();
+  ~SafeBrowsingProtocolManager() override;
 
   // Makes the passed |factory| the factory used to instantiate
   // a SafeBrowsingService. Useful for tests.
@@ -83,7 +70,7 @@ class SafeBrowsingProtocolManager : public net::URLFetcherDelegate,
   virtual void Initialize();
 
   // net::URLFetcherDelegate interface.
-  virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE;
+  void OnURLFetchComplete(const net::URLFetcher* source) override;
 
   // Retrieve the full hash for a set of prefixes, and invoke the callback
   // argument when the results are retrieved. The callback may be invoked