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

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

Issue 23847004: "Redirecting URLs to Packaged Apps" implementation: revised (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/apps/app_browsertest_util.h
diff --git a/chrome/browser/apps/app_browsertest_util.h b/chrome/browser/apps/app_browsertest_util.h
index aa4efcd158f2730b4615153a0125c404dbc81060..dd91d8775f431c77b5defaa7f6e8f332a08321a5 100644
--- a/chrome/browser/apps/app_browsertest_util.h
+++ b/chrome/browser/apps/app_browsertest_util.h
@@ -29,6 +29,9 @@ class PlatformAppBrowserTest : public ExtensionApiTest {
// until it is launched.
const Extension* LoadAndLaunchPlatformApp(const char* name);
+ // Installs the app named |name| out of the platform_apps subdirectory.
+ const Extension* InstallPlatformApp(const char* name);
+
// Installs and runs the app named |name| out of the platform_apps
// subdirectory. Waits until it is launched.
const Extension* InstallAndLaunchPlatformApp(const char* name);
@@ -87,6 +90,22 @@ class ExperimentalPlatformAppBrowserTest : public PlatformAppBrowserTest {
virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE;
};
+class PlatformAppUrlRedirectorBrowserTest : public PlatformAppBrowserTest {
benwells 2013/09/09 05:48:39 Is there a reason this class is in this module? It
sergeygs 2013/09/09 09:55:36 No real reason, it just seemed to make sense. Move
+ public:
+ virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE;
+
+ protected:
+ void TestNavigationInTab(const char* launcher_page_path,
+ const char* handler_path,
+ const char* handler_ack,
+ size_t expected_shell_window_count);
+ void TestNavigationInApp(const char* launcher_path,
+ const char* launcher_ack,
+ const char* handler_path,
+ const char* handler_ack,
+ size_t expected_shell_window_count);
+};
+
} // namespace extensions
#endif // CHROME_BROWSER_APPS_APP_BROWSERTEST_UTIL_H_

Powered by Google App Engine
This is Rietveld 408576698