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

Unified Diff: chrome/browser/safe_browsing/safe_browsing_service.h

Issue 10918279: Provide mutable members of UrlRequestContext via pure-virtual interface (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 months 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/safe_browsing/safe_browsing_service.h
diff --git a/chrome/browser/safe_browsing/safe_browsing_service.h b/chrome/browser/safe_browsing/safe_browsing_service.h
index b7d11234954210ce6f6d6c6de908db703f857c27..80272a11132b6bff23fc5810af1f52a5f4a8e71a 100644
--- a/chrome/browser/safe_browsing/safe_browsing_service.h
+++ b/chrome/browser/safe_browsing/safe_browsing_service.h
@@ -42,6 +42,7 @@ class Thread;
}
namespace net {
+class HttpUserAgentSettings;
class URLRequestContext;
class URLRequestContextGetter;
}
@@ -518,8 +519,9 @@ class SafeBrowsingService
scoped_refptr<net::URLRequestContextGetter>
url_request_context_getter_;
- // The SafeBrowsingURLRequestContext.
+ // URLRequestContext and HttpUserAgentSettings for SafeBrowsing.
scoped_ptr<net::URLRequestContext> url_request_context_;
+ scoped_ptr<net::HttpUserAgentSettings> http_user_agent_settings_;
// Handles interaction with SafeBrowsing servers.
SafeBrowsingProtocolManager* protocol_manager_;

Powered by Google App Engine
This is Rietveld 408576698