| Index: chrome/browser/safe_browsing/preference_validation_delegate.h
|
| diff --git a/chrome/browser/safe_browsing/preference_validation_delegate.h b/chrome/browser/safe_browsing/preference_validation_delegate.h
|
| deleted file mode 100644
|
| index d898af11ede0b7060ef68c06d80da8733d5bf86e..0000000000000000000000000000000000000000
|
| --- a/chrome/browser/safe_browsing/preference_validation_delegate.h
|
| +++ /dev/null
|
| @@ -1,45 +0,0 @@
|
| -// Copyright 2014 The Chromium Authors. All rights reserved.
|
| -// Use of this source code is governed by a BSD-style license that can be
|
| -// found in the LICENSE file.
|
| -
|
| -#ifndef CHROME_BROWSER_SAFE_BROWSING_PREFERENCE_VALIDATION_DELEGATE_H_
|
| -#define CHROME_BROWSER_SAFE_BROWSING_PREFERENCE_VALIDATION_DELEGATE_H_
|
| -
|
| -#include "base/compiler_specific.h"
|
| -#include "base/macros.h"
|
| -#include "chrome/browser/prefs/tracked/tracked_preference_validation_delegate.h"
|
| -#include "chrome/browser/safe_browsing/add_incident_callback.h"
|
| -
|
| -namespace safe_browsing {
|
| -
|
| -// A preference validation delegate that adds incidents to a given receiver
|
| -// for preference validation failures.
|
| -class PreferenceValidationDelegate
|
| - : public TrackedPreferenceValidationDelegate {
|
| - public:
|
| - explicit PreferenceValidationDelegate(
|
| - const AddIncidentCallback& add_incident);
|
| - virtual ~PreferenceValidationDelegate();
|
| -
|
| - private:
|
| - // TrackedPreferenceValidationDelegate methods.
|
| - virtual void OnAtomicPreferenceValidation(
|
| - const std::string& pref_path,
|
| - const base::Value* value,
|
| - PrefHashStoreTransaction::ValueState value_state,
|
| - TrackedPreferenceHelper::ResetAction reset_action) OVERRIDE;
|
| - virtual void OnSplitPreferenceValidation(
|
| - const std::string& pref_path,
|
| - const base::DictionaryValue* dict_value,
|
| - const std::vector<std::string>& invalid_keys,
|
| - PrefHashStoreTransaction::ValueState value_state,
|
| - TrackedPreferenceHelper::ResetAction reset_action) OVERRIDE;
|
| -
|
| - AddIncidentCallback add_incident_;
|
| -
|
| - DISALLOW_COPY_AND_ASSIGN(PreferenceValidationDelegate);
|
| -};
|
| -
|
| -} // namespace safe_browsing
|
| -
|
| -#endif // CHROME_BROWSER_SAFE_BROWSING_PREFERENCE_VALIDATION_DELEGATE_H_
|
|
|