diff options
author | ivankr@chromium.org <ivankr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-20 11:02:30 +0000 |
---|---|---|
committer | ivankr@chromium.org <ivankr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-20 11:02:30 +0000 |
commit | 69bb9e6e26fcd3e93edb969fb43672bf33b7834b (patch) | |
tree | 60c3475eb880a5db7816cbbb195088862e3af681 /chrome/browser/protector/base_setting_change.cc | |
parent | ef61b8cf677b8877d99f02a6f2c82c692c5dea77 (diff) | |
download | chromium_src-69bb9e6e26fcd3e93edb969fb43672bf33b7834b.zip chromium_src-69bb9e6e26fcd3e93edb969fb43672bf33b7834b.tar.gz chromium_src-69bb9e6e26fcd3e93edb969fb43672bf33b7834b.tar.bz2 |
Converted Protector into a ProfileKeyedService.
BUG=None
TEST=browser_tests:ProtectorServiceTest.*,DefaultSearchProviderChangeTest.*
Review URL: https://chromiumcodereview.appspot.com/9258001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118434 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/protector/base_setting_change.cc')
-rw-r--r-- | chrome/browser/protector/base_setting_change.cc | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/chrome/browser/protector/base_setting_change.cc b/chrome/browser/protector/base_setting_change.cc index a622db0..3ee61d4 100644 --- a/chrome/browser/protector/base_setting_change.cc +++ b/chrome/browser/protector/base_setting_change.cc @@ -5,23 +5,19 @@ #include "chrome/browser/protector/base_setting_change.h" #include "base/logging.h" -#include "chrome/browser/protector/protector.h" namespace protector { BaseSettingChange::BaseSettingChange() - : profile_(NULL), - protector_(NULL) { + : profile_(NULL) { } BaseSettingChange::~BaseSettingChange() { } -bool BaseSettingChange::Init(Protector* protector) { - DCHECK(protector); - protector_ = protector; - profile_ = protector->profile(); - DCHECK(profile_); +bool BaseSettingChange::Init(Profile* profile) { + DCHECK(profile); + profile_ = profile; return true; } |