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

Side by Side Diff: services/preferences/public/cpp/pref_service_main.cc

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 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 #include "services/preferences/public/cpp/pref_service_main.h"
6
7 #include "base/threading/sequenced_worker_pool.h"
8 #include "services/preferences/pref_store_manager_impl.h"
9 #include "services/service_manager/public/cpp/service.h"
10
11 namespace prefs {
12
13 std::unique_ptr<service_manager::Service> CreatePrefService(
14 std::set<PrefValueStore::PrefStoreType> expected_pref_stores,
15 scoped_refptr<base::SequencedWorkerPool> worker_pool) {
16 return base::MakeUnique<PrefStoreManagerImpl>(expected_pref_stores,
17 std::move(worker_pool));
18 }
19
20 } // namespace prefs
OLDNEW
« no previous file with comments | « services/preferences/public/cpp/pref_service_main.h ('k') | services/preferences/public/cpp/pref_store_manager_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698