Index: components/safe_browsing/browser/threat_details_cache.h |
diff --git a/chrome/browser/safe_browsing/threat_details_cache.h b/components/safe_browsing/browser/threat_details_cache.h |
similarity index 84% |
rename from chrome/browser/safe_browsing/threat_details_cache.h |
rename to components/safe_browsing/browser/threat_details_cache.h |
index fa9fd4cab9897ca5cc76bed4707742edd40eeafe..8c0667e5df316dda9ee26ef6fabdf8777c8d5265 100644 |
--- a/chrome/browser/safe_browsing/threat_details_cache.h |
+++ b/components/safe_browsing/browser/threat_details_cache.h |
@@ -2,8 +2,8 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef CHROME_BROWSER_SAFE_BROWSING_THREAT_DETAILS_CACHE_H_ |
-#define CHROME_BROWSER_SAFE_BROWSING_THREAT_DETAILS_CACHE_H_ |
+#ifndef COMPONENTS_SAFE_BROWSING_BROWSER_THREAT_DETAILS_CACHE_H_ |
+#define COMPONENTS_SAFE_BROWSING_BROWSER_THREAT_DETAILS_CACHE_H_ |
// A class that gets threat details from the HTTP Cache. |
// An instance of this class is generated by ThreatDetails. |
@@ -82,21 +82,18 @@ class ThreatDetailsCacheCollector |
std::unique_ptr<net::URLFetcher> current_fetch_; |
// Returns the resource from resources_ that corresponds to |url| |
- ClientSafeBrowsingReportRequest::Resource* GetResource( |
- const GURL& url); |
+ ClientSafeBrowsingReportRequest::Resource* GetResource(const GURL& url); |
// Creates a new URLFetcher and starts it. |
void OpenEntry(); |
// Read the HTTP response from |source| and add it to |pb_resource|. |
- void ReadResponse( |
- ClientSafeBrowsingReportRequest::Resource* pb_resource, |
- const net::URLFetcher* source); |
+ void ReadResponse(ClientSafeBrowsingReportRequest::Resource* pb_resource, |
+ const net::URLFetcher* source); |
// Read the body |data| and add it to |pb_resource|. |
- void ReadData( |
- ClientSafeBrowsingReportRequest::Resource* pb_resource, |
- const std::string& data); |
+ void ReadData(ClientSafeBrowsingReportRequest::Resource* pb_resource, |
+ const std::string& data); |
// Called when we are done. |
void AllDone(bool success); |
@@ -107,4 +104,4 @@ class ThreatDetailsCacheCollector |
} // namespace safe_browsing |
-#endif // CHROME_BROWSER_SAFE_BROWSING_THREAT_DETAILS_CACHE_H_ |
+#endif // COMPONENTS_SAFE_BROWSING_BROWSER_THREAT_DETAILS_CACHE_H_ |