diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2018-05-15 10:20:33 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2018-05-15 10:28:57 +0000 |
commit | d17ea114e5ef69ad5d5d7413280a13e6428098aa (patch) | |
tree | 2c01a75df69f30d27b1432467cfe7c1467a498da /chromium/content/browser/notifications/platform_notification_context_unittest.cc | |
parent | 8c5c43c7b138c9b4b0bf56d946e61d3bbc111bec (diff) | |
download | qtwebengine-chromium-d17ea114e5ef69ad5d5d7413280a13e6428098aa.tar.gz |
BASELINE: Update Chromium to 67.0.3396.47
Change-Id: Idcb1341782e417561a2473eeecc82642dafda5b7
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
Diffstat (limited to 'chromium/content/browser/notifications/platform_notification_context_unittest.cc')
-rw-r--r-- | chromium/content/browser/notifications/platform_notification_context_unittest.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/chromium/content/browser/notifications/platform_notification_context_unittest.cc b/chromium/content/browser/notifications/platform_notification_context_unittest.cc index 04b485fe389..d661a252d6f 100644 --- a/chromium/content/browser/notifications/platform_notification_context_unittest.cc +++ b/chromium/content/browser/notifications/platform_notification_context_unittest.cc @@ -21,7 +21,7 @@ #include "content/test/mock_platform_notification_service.h" #include "content/test/test_content_browser_client.h" #include "testing/gtest/include/gtest/gtest.h" -#include "third_party/WebKit/public/mojom/service_worker/service_worker_registration.mojom.h" +#include "third_party/blink/public/mojom/service_worker/service_worker_registration.mojom.h" #include "url/gurl.h" namespace content { @@ -334,8 +334,8 @@ TEST_F(PlatformNotificationContextTest, ServiceWorkerUnregistered) { options.scope = origin; embedded_worker_test_helper->context()->RegisterServiceWorker( script_url, options, - base::Bind(&PlatformNotificationContextTest::DidRegisterServiceWorker, - base::Unretained(this), &service_worker_registration_id)); + base::BindOnce(&PlatformNotificationContextTest::DidRegisterServiceWorker, + base::Unretained(this), &service_worker_registration_id)); base::RunLoop().RunUntilIdle(); ASSERT_NE(service_worker_registration_id, @@ -358,9 +358,9 @@ TEST_F(PlatformNotificationContextTest, ServiceWorkerUnregistered) { // Now drop the Service Worker registration which owns that notification. embedded_worker_test_helper->context()->UnregisterServiceWorker( - origin, - base::Bind(&PlatformNotificationContextTest::DidUnregisterServiceWorker, - base::Unretained(this), &unregister_status)); + origin, base::BindOnce( + &PlatformNotificationContextTest::DidUnregisterServiceWorker, + base::Unretained(this), &unregister_status)); base::RunLoop().RunUntilIdle(); ASSERT_EQ(SERVICE_WORKER_OK, unregister_status); |