| Index: content/browser/service_worker/service_worker_test_utils.h
|
| diff --git a/content/browser/service_worker/service_worker_test_utils.h b/content/browser/service_worker/service_worker_test_utils.h
|
| index 8aa67edbb47a3365e5efcf546fde5a047d74ed28..2a15815c30b017a43805ae000b196660d52b26ab 100644
|
| --- a/content/browser/service_worker/service_worker_test_utils.h
|
| +++ b/content/browser/service_worker/service_worker_test_utils.h
|
| @@ -19,14 +19,18 @@
|
| public testing::WithParamInterface<bool> {
|
| protected:
|
| void SetUp() override {
|
| - if (!is_mojo_enabled()) {
|
| + is_mojo_enabled_ = GetParam();
|
| + if (is_mojo_enabled()) {
|
| base::CommandLine::ForCurrentProcess()->AppendSwitch(
|
| - switches::kDisableMojoServiceWorker);
|
| + switches::kMojoServiceWorker);
|
| }
|
| TestClass::SetUp();
|
| }
|
|
|
| - bool is_mojo_enabled() const { return GetParam(); }
|
| + bool is_mojo_enabled() const { return is_mojo_enabled_; }
|
| +
|
| + private:
|
| + bool is_mojo_enabled_ = false;
|
| };
|
|
|
| template <typename Arg>
|
|
|