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

Unified Diff: ui/views/mus/platform_test_helper_mus.cc

Issue 1775243002: Rename PackageManager->Catalog. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@42cpi
Patch Set: . Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/shell/tests/loader_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/mus/platform_test_helper_mus.cc
diff --git a/ui/views/mus/platform_test_helper_mus.cc b/ui/views/mus/platform_test_helper_mus.cc
index 891bd6a34d09e153fb5a6880f2db369a6c02697a..09c0110de21c9cfdb7618c58dc360292de065e1a 100644
--- a/ui/views/mus/platform_test_helper_mus.cc
+++ b/ui/views/mus/platform_test_helper_mus.cc
@@ -6,7 +6,7 @@
#include "base/command_line.h"
#include "mojo/shell/background/background_shell.h"
-#include "mojo/shell/background/tests/test_application_catalog_store.h"
+#include "mojo/shell/background/tests/test_catalog_store.h"
#include "mojo/shell/public/cpp/connector.h"
#include "mojo/shell/public/cpp/shell_client.h"
#include "mojo/shell/public/cpp/shell_connection.h"
@@ -28,13 +28,11 @@ class DefaultShellClient : public mojo::ShellClient {
DISALLOW_COPY_AND_ASSIGN(DefaultShellClient);
};
-scoped_ptr<mojo::shell::TestApplicationCatalogStore>
-BuildTestApplicationCatalogStore() {
+scoped_ptr<mojo::shell::TestCatalogStore> BuildTestCatalogStore() {
scoped_ptr<base::ListValue> apps(new base::ListValue);
apps->Append(
mojo::shell::BuildPermissiveSerializedAppInfo(kTestName, "test"));
- return make_scoped_ptr(
- new mojo::shell::TestApplicationCatalogStore(std::move(apps)));
+ return make_scoped_ptr(new mojo::shell::TestCatalogStore(std::move(apps)));
}
class PlatformTestHelperMus : public PlatformTestHelper {
@@ -43,7 +41,7 @@ class PlatformTestHelperMus : public PlatformTestHelper {
background_shell_.reset(new BackgroundShell);
scoped_ptr<BackgroundShell::InitParams> init_params(
new BackgroundShell::InitParams);
- init_params->app_catalog = BuildTestApplicationCatalogStore();
+ init_params->catalog_store = BuildTestCatalogStore();
background_shell_->Init(std::move(init_params));
shell_client_.reset(new DefaultShellClient);
shell_connection_.reset(new mojo::ShellConnection(
« no previous file with comments | « mojo/shell/tests/loader_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698