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

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: around go the deps 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 const base::FilePath& unprotected_pref_filename,
21 const base::FilePath& protected_pref_filename,
22 const std::vector<PrefHashFilter::TrackedPreferenceMetadata>&
23 tracking_configuration,
24 uint64_t reporting_ids_count,
25 const std::string& seed,
26 const std::string& legacy_device_id,
27 const base::string16& registry_path,
28 mojom::TrackedPreferenceValidationDelegate* validation_delegate,
29 const base::Closure& on_reset_on_load);
30
31 } // namespace prefs
32
33 #endif // SERVICES_PREFERENCES_PUBLIC_CPP_TRACKED_PERSISTENT_PREF_STORE_FACTORY _H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698