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

Unified Diff: chrome/browser/net/chrome_url_request_context.h

Issue 437077: Remember zoom on a per-host basis.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years 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
« no previous file with comments | « chrome/browser/host_zoom_map.cc ('k') | chrome/browser/net/chrome_url_request_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/net/chrome_url_request_context.h
===================================================================
--- chrome/browser/net/chrome_url_request_context.h (revision 33695)
+++ chrome/browser/net/chrome_url_request_context.h (working copy)
@@ -6,6 +6,7 @@
#define CHROME_BROWSER_NET_CHROME_URL_REQUEST_CONTEXT_H_
#include "base/file_path.h"
+#include "chrome/browser/host_zoom_map.h"
#include "chrome/browser/net/url_request_context_getter.h"
#include "chrome/common/appcache/chrome_appcache_service.h"
#include "chrome/common/notification_registrar.h"
@@ -178,6 +179,8 @@
virtual bool AllowSendingCookies(const URLRequest* request) const;
+ const HostZoomMap* host_zoom_map() const { return host_zoom_map_; }
+
// Gets the Privacy Blacklist, if any for this context.
const Blacklist* GetBlacklist() const;
@@ -243,6 +246,9 @@
void set_extension_paths(const ExtensionPaths& paths) {
extension_paths_ = paths;
}
+ void set_host_zoom_map(HostZoomMap* host_zoom_map) {
+ host_zoom_map_ = host_zoom_map;
+ }
void set_blacklist_manager(BlacklistManager* blacklist_manager);
void set_appcache_service(ChromeAppCacheService* service) {
appcache_service_ = service;
@@ -266,6 +272,7 @@
FilePath user_script_dir_path_;
scoped_refptr<ChromeAppCacheService> appcache_service_;
+ scoped_refptr<HostZoomMap> host_zoom_map_;
scoped_refptr<BlacklistManager> blacklist_manager_;
bool is_media_;
@@ -308,6 +315,7 @@
net::CookiePolicy::Type cookie_policy_type_;
ChromeURLRequestContext::ExtensionPaths extension_paths_;
FilePath user_script_dir_path_;
+ scoped_refptr<HostZoomMap> host_zoom_map_;
scoped_refptr<BlacklistManager> blacklist_manager_;
net::StrictTransportSecurityState* strict_transport_security_state_;
scoped_refptr<net::SSLConfigService> ssl_config_service_;
« no previous file with comments | « chrome/browser/host_zoom_map.cc ('k') | chrome/browser/net/chrome_url_request_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698