| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |