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

Unified Diff: services/preferences/public/cpp/pref_service_main.h

Issue 2759413002: Move PrefStoreManagerImpl into //services/preferences. (Closed)
Patch Set: Update newly-added test. 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « services/preferences/public/cpp/DEPS ('k') | services/preferences/public/cpp/pref_service_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/preferences/public/cpp/pref_service_main.h
diff --git a/services/preferences/public/cpp/pref_service_main.h b/services/preferences/public/cpp/pref_service_main.h
new file mode 100644
index 0000000000000000000000000000000000000000..6b51efaf3c148e0eb2cff3b2ee36ea7ae4befeba
--- /dev/null
+++ b/services/preferences/public/cpp/pref_service_main.h
@@ -0,0 +1,30 @@
+// Copyright 2017 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 SERVICES_PREFERENCES_PUBLIC_CPP_PREF_SERVICE_MAIN_H_
+#define SERVICES_PREFERENCES_PUBLIC_CPP_PREF_SERVICE_MAIN_H_
+
+#include <memory>
+#include <set>
+
+#include "base/memory/ref_counted.h"
+#include "components/prefs/pref_value_store.h"
+
+namespace base {
+class SequencedWorkerPool;
+}
+
+namespace service_manager {
+class Service;
+}
+
+namespace prefs {
+
+std::unique_ptr<service_manager::Service> CreatePrefService(
+ std::set<PrefValueStore::PrefStoreType> expected_pref_stores,
+ scoped_refptr<base::SequencedWorkerPool> worker_pool);
+
+} // namespace prefs
+
+#endif // SERVICES_PREFERENCES_PUBLIC_CPP_PREF_SERVICE_MAIN_H_
« no previous file with comments | « services/preferences/public/cpp/DEPS ('k') | services/preferences/public/cpp/pref_service_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698