Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(37)

Unified Diff: components/user_prefs/tracked/interceptable_pref_filter.h

Issue 1227973003: Componentize //chrome/browser/prefs/tracked. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_
« no previous file with comments | « components/user_prefs/tracked/hash_store_contents.h ('k') | components/user_prefs/tracked/interceptable_pref_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698