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

Unified Diff: chrome/browser/renderer_host/data_reduction_proxy_resource_throttle_android.h

Issue 1420053005: Move code in components/safe_browsing_db and chrome/browser/s_b/ under the safe_browsing namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@02_components_move
Patch Set: Remove '// namespace safe_browsing' for a small fwd decl block. Created 5 years, 1 month 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/renderer_host/data_reduction_proxy_resource_throttle_android.h
diff --git a/chrome/browser/renderer_host/data_reduction_proxy_resource_throttle_android.h b/chrome/browser/renderer_host/data_reduction_proxy_resource_throttle_android.h
index da8adeabdc010283e2b9ad032f475bb669ae858f..bfa891730440412286bfcb140ccf65aeb842a589 100644
--- a/chrome/browser/renderer_host/data_reduction_proxy_resource_throttle_android.h
+++ b/chrome/browser/renderer_host/data_reduction_proxy_resource_throttle_android.h
@@ -52,11 +52,11 @@ class DataReductionProxyResourceThrottle
net::URLRequest* request,
content::ResourceContext* resource_context,
content::ResourceType resource_type,
- SafeBrowsingService* sb_service);
+ safe_browsing::SafeBrowsingService* sb_service);
DataReductionProxyResourceThrottle(net::URLRequest* request,
content::ResourceType resource_type,
- SafeBrowsingService* safe_browsing);
+ safe_browsing::SafeBrowsingService* safe_browsing);
// content::ResourceThrottle implementation (called on IO thread).
void WillRedirectRequest(const net::RedirectInfo& redirect_info,
@@ -78,14 +78,14 @@ class DataReductionProxyResourceThrottle
void OnBlockingPageComplete(bool proceed);
// Returns the threat type.
- SBThreatType CheckUrl();
+ safe_browsing::SBThreatType CheckUrl();
// Starts displaying the safe browsing interstitial page if it is not
// prerendering. Called on the UI thread.
static void StartDisplayingBlockingPage(
const base::WeakPtr<DataReductionProxyResourceThrottle>& throttle,
- scoped_refptr<SafeBrowsingUIManager> ui_manager,
- const SafeBrowsingUIManager::UnsafeResource& resource);
+ scoped_refptr<safe_browsing::SafeBrowsingUIManager> ui_manager,
+ const safe_browsing::SafeBrowsingUIManager::UnsafeResource& resource);
// Resumes the request, by continuing the deferred action (either starting the
// request, or following a redirect).
@@ -96,7 +96,7 @@ class DataReductionProxyResourceThrottle
// The redirect chain for this resource.
std::vector<GURL> redirect_urls_;
- scoped_refptr<SafeBrowsingService> safe_browsing_;
+ scoped_refptr<safe_browsing::SafeBrowsingService> safe_browsing_;
net::URLRequest* request_;
const bool is_subresource_;
const bool is_subframe_;

Powered by Google App Engine
This is Rietveld 408576698