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

Side by Side Diff: services/preferences/public/cpp/tracked_persistent_pref_store_factory.h

Issue 2745563005: Pref service: add support for tracked prefs. (Closed)
Patch Set: Created 3 years, 9 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef SERVICES_PREFERENCES_PUBLIC_CPP_TRACKED_PERSISTENT_PREF_STORE_FACTORY_H_
6 #define SERVICES_PREFERENCES_PUBLIC_CPP_TRACKED_PERSISTENT_PREF_STORE_FACTORY_H_
7
8 #include <memory>
9 #include <string>
10 #include <vector>
11
12 #include "base/strings/string16.h"
13 #include "components/user_prefs/tracked/pref_hash_filter.h"
14 #include "services/preferences/public/interfaces/preferences.mojom.h"
15
16 namespace prefs {
17
18 PersistentPrefStore* CreateTrackedPersistentPrefStore(
19 scoped_refptr<base::SequencedTaskRunner> io_task_runner,
20 mojom::TrackedPersistentPrefStoreConfigurationPtr config,
21 mojom::TrackedPreferenceValidationDelegate* validation_delegate,
22 const base::Closure& on_reset_on_load);
23
24 } // namespace prefs
25
26 #endif // SERVICES_PREFERENCES_PUBLIC_CPP_TRACKED_PERSISTENT_PREF_STORE_FACTORY _H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698