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

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: Rebase Created 6 years, 5 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 30746ba863b1cbd6210ee76809c466cc864b9765..90e2f578e701cccfc21c5e66e15da2728fa81a8c 100644
--- a/chrome/browser/apps/ephemeral_app_browsertest.h
+++ b/chrome/browser/apps/ephemeral_app_browsertest.h
@@ -21,11 +21,13 @@ class EphemeralAppTestBase : public extensions::PlatformAppBrowserTest {
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);
@@ -41,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