Remove dependencies of ResourceRequestAllowedNotifier on chrome/
commitf4455485213d6000fd11773664478bd301ba3dd3
authordroger <droger@chromium.org>
Fri, 21 Nov 2014 09:50:18 +0000 (21 01:50 -0800)
committerCommit bot <commit-bot@chromium.org>
Fri, 21 Nov 2014 09:50:46 +0000 (21 09:50 +0000)
tree9c8d158ad252b6a1257d1fb8d85ea2af47a7a9cb
parentb1b87989a8f6b563e9b0a6b6ad2f3d7385bc91bb
Remove dependencies of ResourceRequestAllowedNotifier on chrome/

This CL prepares the componentization of ResourceRequestAllowedNotifier
and EulaAcceptedNotifier.
Some unused dependencies are cleaned up, and the dependency on
BrowserProcess is removed by passing the PrefService in the constructors
instead.

TBR=achuith

Review URL: https://codereview.chromium.org/739173002

Cr-Commit-Position: refs/heads/master@{#305190}
12 files changed:
chrome/browser/metrics/variations/variations_service.cc
chrome/browser/metrics/variations/variations_service_unittest.cc
chrome/browser/translate/translate_service.cc
chrome/browser/web_resource/eula_accepted_notifier.cc
chrome/browser/web_resource/eula_accepted_notifier.h
chrome/browser/web_resource/eula_accepted_notifier_unittest.cc
chrome/browser/web_resource/resource_request_allowed_notifier.cc
chrome/browser/web_resource/resource_request_allowed_notifier.h
chrome/browser/web_resource/resource_request_allowed_notifier_test_util.cc
chrome/browser/web_resource/resource_request_allowed_notifier_test_util.h
chrome/browser/web_resource/resource_request_allowed_notifier_unittest.cc
chrome/browser/web_resource/web_resource_service.cc