| Index: chrome/browser/protector/default_search_provider_change.cc
|
| diff --git a/chrome/browser/protector/default_search_provider_change.cc b/chrome/browser/protector/default_search_provider_change.cc
|
| index 774655a3a5e9708d58339824a1bd7bc1e1ef402e..012657e19fe37809a96cf0402f1eb5d1f881ea48 100644
|
| --- a/chrome/browser/protector/default_search_provider_change.cc
|
| +++ b/chrome/browser/protector/default_search_provider_change.cc
|
| @@ -87,6 +87,7 @@ class DefaultSearchProviderChange : public BaseSettingChange,
|
|
|
| // BaseSettingChange overrides:
|
| virtual bool Init(Profile* profile) OVERRIDE;
|
| + virtual void InitWhenDisabled(Profile* profile) OVERRIDE;
|
| virtual void Apply(Browser* browser) OVERRIDE;
|
| virtual void Discard(Browser* browser) OVERRIDE;
|
| virtual void Timeout() OVERRIDE;
|
| @@ -232,6 +233,12 @@ bool DefaultSearchProviderChange::Init(Profile* profile) {
|
| return true;
|
| }
|
|
|
| +void DefaultSearchProviderChange::InitWhenDisabled(Profile* profile) {
|
| + // The --no-protector case is handled in TemplateURLService internals.
|
| + // TODO(ivankr): move it here.
|
| + NOTREACHED();
|
| +}
|
| +
|
| void DefaultSearchProviderChange::Apply(Browser* browser) {
|
| UMA_HISTOGRAM_ENUMERATION(
|
| kProtectorHistogramSearchProviderApplied,
|
|
|