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

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

Issue 344543006: Disable ephemeral apps after they stop running (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Prevent demotion of installed app due to race condition Created 6 years, 6 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/ephemeral_app_browsertest.h
diff --git a/chrome/browser/apps/ephemeral_app_browsertest.h b/chrome/browser/apps/ephemeral_app_browsertest.h
index 21a6d9a2947dd2a5e891afc8f4bc6ac921b05ac0..90e2f578e701cccfc21c5e66e15da2728fa81a8c 100644
--- a/chrome/browser/apps/ephemeral_app_browsertest.h
+++ b/chrome/browser/apps/ephemeral_app_browsertest.h
@@ -20,11 +20,14 @@ class EphemeralAppTestBase : public extensions::PlatformAppBrowserTest {
public:
static const char kMessagingReceiverApp[];
static const char kMessagingReceiverAppV2[];
+ static const char kDispatchEventTestApp[];
+ static const char kNotificationsTestApp[];
EphemeralAppTestBase();
virtual ~EphemeralAppTestBase();
virtual void SetUpCommandLine(base::CommandLine* command_line) OVERRIDE;
+ virtual void SetUpOnMainThread() OVERRIDE;
protected:
base::FilePath GetTestPath(const char* test_path);
@@ -40,6 +43,7 @@ class EphemeralAppTestBase : public extensions::PlatformAppBrowserTest {
const base::FilePath& pem_path);
void PromoteEphemeralApp(const extensions::Extension* app);
+ void CloseAppWaitForUnload(const std::string& app_id);
void CloseApp(const std::string& app_id);
void EvictApp(const std::string& app_id);
};

Powered by Google App Engine
This is Rietveld 408576698