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

Unified Diff: chrome/browser/ui/app_list/test/app_list_service_test_api_ash.cc

Issue 23072036: Adds an integration test for uninstalling app list search results. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 3 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
Index: chrome/browser/ui/app_list/test/app_list_service_test_api_ash.cc
diff --git a/chrome/browser/ui/app_list/test/app_list_service_test_api_ash.cc b/chrome/browser/ui/app_list/test/app_list_service_test_api_ash.cc
new file mode 100644
index 0000000000000000000000000000000000000000..cf60ef629b6a1654e9b882d23de18571116ba661
--- /dev/null
+++ b/chrome/browser/ui/app_list/test/app_list_service_test_api_ash.cc
@@ -0,0 +1,28 @@
+// Copyright 2013 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 "chrome/browser/ui/app_list/test/app_list_service_test_api_ash.h"
+
+#include "ash/shell.h"
+#include "ash/test/app_list_controller_test_api.h"
+#include "ui/app_list/views/app_list_view.h"
+
+namespace test {
+
+app_list::AppListModel* AppListServiceTestApiAsh::GetAppListModel() {
+ return ash::test::AppListControllerTestApi(ash::Shell::GetInstance())
+ .view()->model();
+}
+
+#if !defined(OS_WIN)
+// static
+scoped_ptr<AppListServiceTestApi> AppListServiceTestApi::Create(
+ chrome::HostDesktopType desktop) {
+ DCHECK_EQ(chrome::HOST_DESKTOP_TYPE_ASH, desktop);
+ return scoped_ptr<AppListServiceTestApi>(
+ new AppListServiceTestApiAsh()).Pass();
+}
+#endif // !defined(OS_WIN)
+
+} // namespace test

Powered by Google App Engine
This is Rietveld 408576698