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

Unified Diff: chrome/browser/apps/app_browsertest_util.h

Issue 816893002: Added HostedAppLaunch for testing hosted app shims on Mac. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments Created 6 years 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 | « no previous file | chrome/browser/apps/app_browsertest_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/apps/app_browsertest_util.h
diff --git a/chrome/browser/apps/app_browsertest_util.h b/chrome/browser/apps/app_browsertest_util.h
index b9fe3a82918d8fdc44f7068d71d28ef71baf140b..23aba873b76dad193869b540586c6b04b8739946 100644
--- a/chrome/browser/apps/app_browsertest_util.h
+++ b/chrome/browser/apps/app_browsertest_util.h
@@ -46,6 +46,9 @@ class PlatformAppBrowserTest : public ExtensionApiTest {
// Installs the app named |name| out of the platform_apps subdirectory.
const Extension* InstallPlatformApp(const char* name);
+ // Installs the sample hosted app.
+ const Extension* InstallHostedApp();
+
// Installs and runs the app named |name| out of the platform_apps
// subdirectory. Waits until it is launched.
const Extension* InstallAndLaunchPlatformApp(const char* name);
@@ -53,6 +56,9 @@ class PlatformAppBrowserTest : public ExtensionApiTest {
// Launch the given platform app.
virtual void LaunchPlatformApp(const Extension* extension);
+ // Launch the given hosted app.
+ virtual void LaunchHostedApp(const Extension* extension);
+
// Gets the WebContents associated with the first app window that is found
// (most tests only deal with one platform app window, so this is good
// enough).
« no previous file with comments | « no previous file | chrome/browser/apps/app_browsertest_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698