| 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 "mojo/shell/background/tests/test_catalog_store.h" | 5 #include "services/shell/background/tests/test_catalog_store.h" |
| 6 | 6 |
| 7 using catalog::Store; | 7 using catalog::Store; |
| 8 | 8 |
| 9 namespace mojo { | 9 namespace mojo { |
| 10 namespace shell { | 10 namespace shell { |
| 11 | 11 |
| 12 TestCatalogStore::TestCatalogStore(scoped_ptr<base::ListValue> store) | 12 TestCatalogStore::TestCatalogStore(scoped_ptr<base::ListValue> store) |
| 13 : store_(std::move(store)) {} | 13 : store_(std::move(store)) {} |
| 14 | 14 |
| 15 TestCatalogStore::~TestCatalogStore() {} | 15 TestCatalogStore::~TestCatalogStore() {} |
| (...skipping 24 matching lines...) Expand all Loading... |
| 40 interfaces_dictionary->Set("interfaces", std::move(interfaces_list)); | 40 interfaces_dictionary->Set("interfaces", std::move(interfaces_list)); |
| 41 required_capabilities->Set("*", std::move(interfaces_dictionary)); | 41 required_capabilities->Set("*", std::move(interfaces_dictionary)); |
| 42 capabilities->Set(Store::kCapabilities_RequiredKey, | 42 capabilities->Set(Store::kCapabilities_RequiredKey, |
| 43 std::move(required_capabilities)); | 43 std::move(required_capabilities)); |
| 44 app->Set(Store::kCapabilitiesKey, std::move(capabilities)); | 44 app->Set(Store::kCapabilitiesKey, std::move(capabilities)); |
| 45 return app; | 45 return app; |
| 46 } | 46 } |
| 47 | 47 |
| 48 } // namespace shell | 48 } // namespace shell |
| 49 } // namespace mojo | 49 } // namespace mojo |
| OLD | NEW |