From c18f9cc14a916cf131b6cb8f001e469d0a26de43 Mon Sep 17 00:00:00 2001 From: ben Date: Tue, 8 Mar 2016 20:08:17 -0800 Subject: Rename PackageManager->Catalog. TBR=sky@chromium.org BUG= Review URL: https://codereview.chromium.org/1775243002 Cr-Commit-Position: refs/heads/master@{#380062} --- ui/views/mus/platform_test_helper_mus.cc | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'ui') diff --git a/ui/views/mus/platform_test_helper_mus.cc b/ui/views/mus/platform_test_helper_mus.cc index 891bd6a..09c0110 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 -BuildTestApplicationCatalogStore() { +scoped_ptr BuildTestCatalogStore() { scoped_ptr 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 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( -- cgit v1.1