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

Unified Diff: chrome/browser/profiles/profile_io_data.h

Issue 99433004: Add a header when fetching pages under the DMServer URL. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Changed per willchan's feedback Created 7 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
Index: chrome/browser/profiles/profile_io_data.h
diff --git a/chrome/browser/profiles/profile_io_data.h b/chrome/browser/profiles/profile_io_data.h
index d68addeb2c2d0f76b9a12a60dc0344c6cf839849..df04ebf98537b2421e850aad84cb0c7cd7783c69 100644
--- a/chrome/browser/profiles/profile_io_data.h
+++ b/chrome/browser/profiles/profile_io_data.h
@@ -62,6 +62,7 @@ class URLRequestJobFactoryImpl;
namespace policy {
class PolicyCertVerifier;
+class PolicyHeaderIOHelper;
class URLBlacklistManager;
} // namespace policy
@@ -192,6 +193,12 @@ class ProfileIOData {
return resource_prefetch_predictor_observer_.get();
}
+#if defined(ENABLE_CONFIGURATION_POLICY)
+ policy::PolicyHeaderIOHelper* policy_header_helper() const {
+ return policy_header_helper_.get();
+ }
+#endif
+
#if defined(ENABLE_MANAGED_USERS)
const ManagedModeURLFilter* managed_mode_url_filter() const {
return managed_mode_url_filter_.get();
@@ -492,6 +499,10 @@ class ProfileIOData {
// Pointed to by NetworkDelegate.
mutable scoped_ptr<policy::URLBlacklistManager> url_blacklist_manager_;
+#if defined(ENABLE_CONFIGURATION_POLICY)
+ mutable scoped_ptr<policy::PolicyHeaderIOHelper> policy_header_helper_;
+#endif
+
// Pointed to by URLRequestContext.
mutable scoped_refptr<extensions::InfoMap> extension_info_map_;
mutable scoped_ptr<net::ServerBoundCertService> server_bound_cert_service_;
« no previous file with comments | « chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc ('k') | chrome/browser/profiles/profile_io_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698