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

Unified Diff: chrome/browser/notifications/platform_notification_service_browsertest.cc

Issue 933923003: Enable the Push and Notification Service Worker events without a flag. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@n-stable
Patch Set: Created 5 years, 10 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 | « no previous file | chrome/browser/services/gcm/push_messaging_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/notifications/platform_notification_service_browsertest.cc
diff --git a/chrome/browser/notifications/platform_notification_service_browsertest.cc b/chrome/browser/notifications/platform_notification_service_browsertest.cc
index ba850bd4df4234ee8e154b599184d31d138e4eba..d48d255dae5c7585946e2a15a636d7f5c5b96426 100644
--- a/chrome/browser/notifications/platform_notification_service_browsertest.cc
+++ b/chrome/browser/notifications/platform_notification_service_browsertest.cc
@@ -21,7 +21,6 @@
#include "components/infobars/core/confirm_infobar_delegate.h"
#include "components/infobars/core/infobar.h"
#include "components/infobars/core/infobar_manager.h"
-#include "content/public/common/content_switches.h"
#include "content/public/test/browser_test_utils.h"
#include "net/base/filename_util.h"
#include "net/test/spawned_test_server/spawned_test_server.h"
@@ -90,7 +89,6 @@ class PlatformNotificationServiceBrowserTest : public InProcessBrowserTest {
~PlatformNotificationServiceBrowserTest() override {}
// InProcessBrowserTest overrides.
- void SetUpCommandLine(base::CommandLine* command_line) override;
void SetUp() override;
void SetUpOnMainThread() override;
void TearDown() override;
@@ -136,14 +134,6 @@ PlatformNotificationServiceBrowserTest::PlatformNotificationServiceBrowserTest()
test_page_url_(std::string("files/") + kTestFileName) {
}
-void PlatformNotificationServiceBrowserTest::SetUpCommandLine(
- base::CommandLine* command_line) {
- command_line->AppendSwitch(
- switches::kEnableExperimentalWebPlatformFeatures);
-
- InProcessBrowserTest::SetUpCommandLine(command_line);
-}
-
void PlatformNotificationServiceBrowserTest::SetUp() {
ui_manager_.reset(new StubNotificationUIManager);
https_server_.reset(new net::SpawnedTestServer(
« no previous file with comments | « no previous file | chrome/browser/services/gcm/push_messaging_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698