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

Side by Side Diff: services/service_manager/background/tests/test_catalog_store.cc

Issue 2419723002: Move services/shell to services/service_manager (Closed)
Patch Set: rebase Created 4 years, 2 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
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "services/shell/background/tests/test_catalog_store.h" 5 #include "services/service_manager/background/tests/test_catalog_store.h"
6 6
7 using catalog::Store; 7 using catalog::Store;
8 8
9 namespace shell { 9 namespace shell {
10 10
11 TestCatalogStore::TestCatalogStore(std::unique_ptr<base::ListValue> store) 11 TestCatalogStore::TestCatalogStore(std::unique_ptr<base::ListValue> store)
12 : store_(std::move(store)) {} 12 : store_(std::move(store)) {}
13 13
14 TestCatalogStore::~TestCatalogStore() {} 14 TestCatalogStore::~TestCatalogStore() {}
15 15
(...skipping 30 matching lines...) Expand all
46 classes_list->AppendString("shell:test_service"); 46 classes_list->AppendString("shell:test_service");
47 classes_dictionary->Set("classes", std::move(classes_list)); 47 classes_dictionary->Set("classes", std::move(classes_list));
48 required_capabilities->Set("*", std::move(classes_dictionary)); 48 required_capabilities->Set("*", std::move(classes_dictionary));
49 capabilities->Set(Store::kCapabilities_RequiredKey, 49 capabilities->Set(Store::kCapabilities_RequiredKey,
50 std::move(required_capabilities)); 50 std::move(required_capabilities));
51 app->Set(Store::kCapabilitiesKey, std::move(capabilities)); 51 app->Set(Store::kCapabilitiesKey, std::move(capabilities));
52 return app; 52 return app;
53 } 53 }
54 54
55 } // namespace shell 55 } // namespace shell
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698