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

Unified Diff: chrome/browser/ui/app_list/test/app_list_service_test_api.h

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.h
diff --git a/chrome/browser/ui/app_list/test/app_list_service_test_api.h b/chrome/browser/ui/app_list/test/app_list_service_test_api.h
new file mode 100644
index 0000000000000000000000000000000000000000..4b9aecaf7144f736d86ddb59a9b99627836de126
--- /dev/null
+++ b/chrome/browser/ui/app_list/test/app_list_service_test_api.h
@@ -0,0 +1,35 @@
+// 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.
+
+#ifndef CHROME_BROWSER_UI_APP_LIST_TEST_APP_LIST_SERVICE_TEST_API_H_
+#define CHROME_BROWSER_UI_APP_LIST_TEST_APP_LIST_SERVICE_TEST_API_H_
+
+#include "base/basictypes.h"
+#include "base/memory/scoped_ptr.h"
+#include "chrome/browser/ui/host_desktop.h"
+
+namespace app_list {
+class AppListModel;
+}
+
+namespace test {
+
+// Accesses private data from an AppListService for testing.
+class AppListServiceTestApi {
+ public:
+ AppListServiceTestApi() {}
+ virtual ~AppListServiceTestApi() {}
+
+ static scoped_ptr<AppListServiceTestApi> Create(
+ chrome::HostDesktopType desktop);
+
+ virtual app_list::AppListModel* GetAppListModel() = 0;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(AppListServiceTestApi);
+};
+
+} // namespace test
+
+#endif // CHROME_BROWSER_UI_APP_LIST_TEST_APP_LIST_SERVICE_TEST_API_H_
« no previous file with comments | « chrome/browser/ui/app_list/app_list_service_win.h ('k') | chrome/browser/ui/app_list/test/app_list_service_test_api_ash.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698