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

Unified Diff: chrome/browser/ui/app_list/app_list_service_mac_browsertest.mm

Issue 15269003: Refactor extension handling code from AppShimHost into ExtensionAppShimHandler. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync and rebase Created 7 years, 7 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 | « apps/apps.gypi ('k') | chrome/chrome_tests_unit.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/app_list/app_list_service_mac_browsertest.mm
diff --git a/chrome/browser/ui/app_list/app_list_service_mac_browsertest.mm b/chrome/browser/ui/app_list/app_list_service_mac_browsertest.mm
index f8c18ef6c9dc45d2af4142ded64421de366a033d..4f7aee73845b8d45409be31ee48194e5d785219e 100644
--- a/chrome/browser/ui/app_list/app_list_service_mac_browsertest.mm
+++ b/chrome/browser/ui/app_list/app_list_service_mac_browsertest.mm
@@ -40,11 +40,17 @@ class AppListServiceMacBrowserTest : public InProcessBrowserTest,
AppShimHandler::GetForAppMode(app_mode::kAppListModeId)->OnShimClose(this);
}
- // AppShimHandler::Host override:
+ // AppShimHandler::Host overrides:
virtual void OnAppClosed() OVERRIDE {
++close_count_;
QuitShim();
}
+ virtual Profile* GetProfile() const OVERRIDE {
+ return NULL; // Currently unused in this test.
+ }
+ virtual std::string GetAppId() const OVERRIDE {
+ return app_mode::kAppListModeId;
+ }
int close_count_;
bool running_;
« no previous file with comments | « apps/apps.gypi ('k') | chrome/chrome_tests_unit.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698