| Index: chrome/browser/extensions/extension_browsertest.h
|
| diff --git a/chrome/browser/extensions/extension_browsertest.h b/chrome/browser/extensions/extension_browsertest.h
|
| index 0302dce78ef25c21bbe9625630e0b82a023d3bda..cdd7614d1875ed5da89850606682dc97fb29e6ff 100644
|
| --- a/chrome/browser/extensions/extension_browsertest.h
|
| +++ b/chrome/browser/extensions/extension_browsertest.h
|
| @@ -188,8 +188,31 @@ class ExtensionBrowserTest : virtual public InProcessBrowserTest {
|
| int expected_change,
|
| extensions::Manifest::Location install_source,
|
| extensions::Extension::InitFromValueFlags creation_flags) {
|
| - return InstallOrUpdateExtension(std::string(), path, INSTALL_UI_TYPE_NONE,
|
| - expected_change, install_source, browser(), creation_flags, false);
|
| + return InstallOrUpdateExtension(std::string(),
|
| + path,
|
| + INSTALL_UI_TYPE_NONE,
|
| + expected_change,
|
| + install_source,
|
| + browser(),
|
| + creation_flags,
|
| + false,
|
| + false);
|
| + }
|
| +
|
| + const extensions::Extension* InstallEphemeralAppWithSourceAndFlags(
|
| + const base::FilePath& path,
|
| + int expected_change,
|
| + extensions::Manifest::Location install_source,
|
| + extensions::Extension::InitFromValueFlags creation_flags) {
|
| + return InstallOrUpdateExtension(std::string(),
|
| + path,
|
| + INSTALL_UI_TYPE_NONE,
|
| + expected_change,
|
| + install_source,
|
| + browser(),
|
| + creation_flags,
|
| + false,
|
| + true);
|
| }
|
|
|
| // Begins install process but simulates a user cancel.
|
| @@ -347,7 +370,8 @@ class ExtensionBrowserTest : virtual public InProcessBrowserTest {
|
| extensions::Manifest::Location install_source,
|
| Browser* browser,
|
| extensions::Extension::InitFromValueFlags creation_flags,
|
| - bool wait_for_idle);
|
| + bool wait_for_idle,
|
| + bool is_ephemeral);
|
|
|
| // Make the current channel "dev" for the duration of the test.
|
| extensions::ScopedCurrentChannel current_channel_;
|
|
|