| Index: mojo/shell/background/tests/test_catalog_store.cc
|
| diff --git a/mojo/shell/background/tests/test_catalog_store.cc b/mojo/shell/background/tests/test_catalog_store.cc
|
| deleted file mode 100644
|
| index 41daf828a7b249069f688de5b6c4ca9285cb6dc4..0000000000000000000000000000000000000000
|
| --- a/mojo/shell/background/tests/test_catalog_store.cc
|
| +++ /dev/null
|
| @@ -1,49 +0,0 @@
|
| -// Copyright 2016 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.
|
| -
|
| -#include "mojo/shell/background/tests/test_catalog_store.h"
|
| -
|
| -using catalog::Store;
|
| -
|
| -namespace mojo {
|
| -namespace shell {
|
| -
|
| -TestCatalogStore::TestCatalogStore(scoped_ptr<base::ListValue> store)
|
| - : store_(std::move(store)) {}
|
| -
|
| -TestCatalogStore::~TestCatalogStore() {}
|
| -
|
| -const base::ListValue* TestCatalogStore::GetStore() {
|
| - get_store_called_ = true;
|
| - return store_.get();
|
| -}
|
| -
|
| -void TestCatalogStore::UpdateStore(
|
| - scoped_ptr<base::ListValue> store) {}
|
| -
|
| -scoped_ptr<base::DictionaryValue> BuildPermissiveSerializedAppInfo(
|
| - const std::string& name,
|
| - const std::string& display_name) {
|
| - scoped_ptr<base::DictionaryValue> app(new base::DictionaryValue);
|
| - app->SetString(Store::kNameKey, name);
|
| - app->SetString(Store::kDisplayNameKey, display_name);
|
| - app->SetInteger(Store::kManifestVersionKey, 1);
|
| -
|
| - scoped_ptr<base::DictionaryValue> capabilities(new base::DictionaryValue);
|
| - scoped_ptr<base::DictionaryValue> required_capabilities(
|
| - new base::DictionaryValue);
|
| - scoped_ptr<base::DictionaryValue> interfaces_dictionary(
|
| - new base::DictionaryValue);
|
| - scoped_ptr<base::ListValue> interfaces_list(new base::ListValue);
|
| - interfaces_list->AppendString("*");
|
| - interfaces_dictionary->Set("interfaces", std::move(interfaces_list));
|
| - required_capabilities->Set("*", std::move(interfaces_dictionary));
|
| - capabilities->Set(Store::kCapabilities_RequiredKey,
|
| - std::move(required_capabilities));
|
| - app->Set(Store::kCapabilitiesKey, std::move(capabilities));
|
| - return app;
|
| -}
|
| -
|
| -} // namespace shell
|
| -} // namespace mojo
|
|
|