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

Unified Diff: content/browser/service_worker/service_worker_test_utils.h

Issue 2627543002: ServiceWorker: Returns true for IsMojoForServiceWorkerEnabled (Closed)
Patch Set: Created 3 years, 11 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: 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..467eaf0392236a805363bd5ffcf32854a898693b 100644
--- a/content/browser/service_worker/service_worker_test_utils.h
+++ b/content/browser/service_worker/service_worker_test_utils.h
@@ -14,21 +14,6 @@
namespace content {
-template <class TestClass>
-class MojoServiceWorkerTestP : public TestClass,
- public testing::WithParamInterface<bool> {
- protected:
- void SetUp() override {
- if (!is_mojo_enabled()) {
- base::CommandLine::ForCurrentProcess()->AppendSwitch(
- switches::kDisableMojoServiceWorker);
- }
- TestClass::SetUp();
- }
-
- bool is_mojo_enabled() const { return GetParam(); }
-};
-
template <typename Arg>
void ReceiveResult(BrowserThread::ID run_quit_thread,
const base::Closure& quit,

Powered by Google App Engine
This is Rietveld 408576698