Chromium Code Reviews| 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 1f74b3a6b627d68cd92f94f65f9fb1c312275860..f9e97140d50ad5014559a82d7941d4ec0207d135 100644 |
| --- a/chrome/browser/notifications/platform_notification_service_browsertest.cc |
| +++ b/chrome/browser/notifications/platform_notification_service_browsertest.cc |
| @@ -19,10 +19,10 @@ |
| #include "chrome/browser/ui/browser.h" |
| #include "chrome/browser/ui/tabs/tab_strip_model.h" |
| #include "chrome/browser/ui/website_settings/permission_bubble_manager.h" |
| -#include "chrome/common/chrome_switches.h" |
| #include "chrome/grit/generated_resources.h" |
| #include "chrome/test/base/in_process_browser_test.h" |
| #include "chrome/test/base/ui_test_utils.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/embedded_test_server/embedded_test_server.h" |
| @@ -44,6 +44,7 @@ class PlatformNotificationServiceBrowserTest : public InProcessBrowserTest { |
| ~PlatformNotificationServiceBrowserTest() override {} |
| // InProcessBrowserTest overrides. |
| + void SetUpCommandLine(base::CommandLine* command_line) override; |
| void SetUp() override; |
| void SetUpOnMainThread() override; |
| void TearDown() override; |
| @@ -179,6 +180,13 @@ bool PlatformNotificationServiceBrowserTest::RequestAndDenyPermission() { |
| return "denied" == result; |
| } |
| +void PlatformNotificationServiceBrowserTest::SetUpCommandLine( |
| + base::CommandLine* command_line) { |
| + command_line->AppendSwtich(switches::kEnableExperimentalWebPlatformFeatures); |
|
Peter Beverloo
2016/02/17 16:15:35
AppendSwitch
harkness
2016/02/18 10:45:14
Actually, I meant to revert this file. I'll do tha
|
| + |
| + InProcessBrowserTest::SetUpCommandLine(command_line); |
| +} |
| + |
| // ----------------------------------------------------------------------------- |
| // TODO(peter): Move PlatformNotificationService-related tests over from |