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

Unified Diff: chrome/browser/managed_mode/managed_mode_resource_throttle.cc

Issue 11826059: Add ManagedUserService for profile-specific managed user data. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: win fix Created 7 years, 11 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/managed_mode/managed_mode_resource_throttle.cc
diff --git a/chrome/browser/managed_mode/managed_mode_resource_throttle.cc b/chrome/browser/managed_mode/managed_mode_resource_throttle.cc
index a8f60eeab48cd573d89765340e4dc5c3c419f295..a7208a30016370e8679475ac71d66352bf214b8c 100644
--- a/chrome/browser/managed_mode/managed_mode_resource_throttle.cc
+++ b/chrome/browser/managed_mode/managed_mode_resource_throttle.cc
@@ -26,14 +26,15 @@ ManagedModeResourceThrottle::ManagedModeResourceThrottle(
const net::URLRequest* request,
int render_process_host_id,
int render_view_id,
- bool is_main_frame)
+ bool is_main_frame,
+ const ManagedModeURLFilter* url_filter)
: ALLOW_THIS_IN_INITIALIZER_LIST(weak_ptr_factory_(this)),
request_(request),
render_process_host_id_(render_process_host_id),
render_view_id_(render_view_id),
is_main_frame_(is_main_frame),
temporarily_allowed_(false),
- url_filter_(ManagedMode::GetURLFilterForIOThread()) {}
+ url_filter_(url_filter) {}
ManagedModeResourceThrottle::~ManagedModeResourceThrottle() {}

Powered by Google App Engine
This is Rietveld 408576698