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

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: Addressed review comments and refactoring Created 6 years, 4 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/app_lifetime_monitor.h ('k') | chrome/browser/apps/ephemeral_app_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..7dd1fc131597488477f8b598cdadbcafed64341d 100644
--- a/chrome/browser/apps/ephemeral_app_browsertest.h
+++ b/chrome/browser/apps/ephemeral_app_browsertest.h
@@ -21,11 +21,14 @@ class EphemeralAppTestBase : public extensions::PlatformAppBrowserTest {
static const char kMessagingReceiverApp[];
static const char kMessagingReceiverAppV2[];
static const char kDispatchEventTestApp[];
+ static const char kNotificationsTestApp[];
+ static const char kFileSystemTestApp[];
EphemeralAppTestBase();
virtual ~EphemeralAppTestBase();
virtual void SetUpCommandLine(base::CommandLine* command_line) OVERRIDE;
+ virtual void SetUpOnMainThread() OVERRIDE;
protected:
base::FilePath GetTestPath(const char* test_path);
@@ -40,7 +43,10 @@ class EphemeralAppTestBase : public extensions::PlatformAppBrowserTest {
const base::FilePath& test_dir,
const base::FilePath& pem_path);
void PromoteEphemeralApp(const extensions::Extension* app);
+ void DisableEphemeralApp(const extensions::Extension* app,
+ extensions::Extension::DisableReason disable_reason);
+ void CloseAppWaitForUnload(const std::string& app_id);
void CloseApp(const std::string& app_id);
void EvictApp(const std::string& app_id);
};
« no previous file with comments | « apps/app_lifetime_monitor.h ('k') | chrome/browser/apps/ephemeral_app_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698