| Index: components/user_prefs/tracked/interceptable_pref_filter.h
|
| diff --git a/chrome/browser/prefs/tracked/interceptable_pref_filter.h b/components/user_prefs/tracked/interceptable_pref_filter.h
|
| similarity index 86%
|
| rename from chrome/browser/prefs/tracked/interceptable_pref_filter.h
|
| rename to components/user_prefs/tracked/interceptable_pref_filter.h
|
| index aacbfc7dbea9dde69e454a0be8859ee492b5d64b..58021df319cd90d35152fd65c19ec2bbf79348eb 100644
|
| --- a/chrome/browser/prefs/tracked/interceptable_pref_filter.h
|
| +++ b/components/user_prefs/tracked/interceptable_pref_filter.h
|
| @@ -2,8 +2,8 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef CHROME_BROWSER_PREFS_TRACKED_INTERCEPTABLE_PREF_FILTER_H_
|
| -#define CHROME_BROWSER_PREFS_TRACKED_INTERCEPTABLE_PREF_FILTER_H_
|
| +#ifndef COMPONENTS_USER_PREFS_TRACKED_INTERCEPTABLE_PREF_FILTER_H_
|
| +#define COMPONENTS_USER_PREFS_TRACKED_INTERCEPTABLE_PREF_FILTER_H_
|
|
|
| #include "base/callback.h"
|
| #include "base/memory/weak_ptr.h"
|
| @@ -28,9 +28,9 @@ class InterceptablePrefFilter
|
| // A callback to be invoked from FilterOnLoad. It takes ownership of prefs
|
| // and may modify them before handing them back to this
|
| // InterceptablePrefFilter via |finalize_filter_on_load|.
|
| - typedef base::Callback<
|
| - void(const FinalizeFilterOnLoadCallback& finalize_filter_on_load,
|
| - scoped_ptr<base::DictionaryValue> prefs)> FilterOnLoadInterceptor;
|
| + typedef base::Callback<void(
|
| + const FinalizeFilterOnLoadCallback& finalize_filter_on_load,
|
| + scoped_ptr<base::DictionaryValue> prefs)> FilterOnLoadInterceptor;
|
|
|
| InterceptablePrefFilter();
|
| ~InterceptablePrefFilter() override;
|
| @@ -61,4 +61,4 @@ class InterceptablePrefFilter
|
| FilterOnLoadInterceptor filter_on_load_interceptor_;
|
| };
|
|
|
| -#endif // CHROME_BROWSER_PREFS_TRACKED_INTERCEPTABLE_PREF_FILTER_H_
|
| +#endif // COMPONENTS_USER_PREFS_TRACKED_INTERCEPTABLE_PREF_FILTER_H_
|
|
|