diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2017-11-20 15:06:40 +0100 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2017-11-22 11:48:58 +0000 |
commit | daa093eea7c773db06799a13bd7e4e2e2a9f8f14 (patch) | |
tree | 96cc5e7b9194c1b29eab927730bfa419e7111c25 /chromium/content/browser/notifications/platform_notification_context_unittest.cc | |
parent | be59a35641616a4cf23c4a13fa0632624b021c1b (diff) | |
download | qtwebengine-chromium-daa093eea7c773db06799a13bd7e4e2e2a9f8f14.tar.gz |
BASELINE: Update Chromium to 63.0.3239.58
Change-Id: Ia93b322a00ba4dd4004f3bcf1254063ba90e1605
Reviewed-by: Alexandru Croitor <alexandru.croitor@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 | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/chromium/content/browser/notifications/platform_notification_context_unittest.cc b/chromium/content/browser/notifications/platform_notification_context_unittest.cc index c1938fc84b5..64616d96cab 100644 --- a/chromium/content/browser/notifications/platform_notification_context_unittest.cc +++ b/chromium/content/browser/notifications/platform_notification_context_unittest.cc @@ -21,6 +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/platform/modules/serviceworker/service_worker_registration.mojom.h" #include "url/gurl.h" namespace content { @@ -324,18 +325,19 @@ TEST_F(PlatformNotificationContextTest, ServiceWorkerUnregistered) { GURL origin("https://example.com"); GURL script_url("https://example.com/worker.js"); - int64_t service_worker_registration_id = kInvalidServiceWorkerRegistrationId; + int64_t service_worker_registration_id = + blink::mojom::kInvalidServiceWorkerRegistrationId; // Register a Service Worker to get a valid registration id. embedded_worker_test_helper->context()->RegisterServiceWorker( - script_url, ServiceWorkerRegistrationOptions(origin), + script_url, blink::mojom::ServiceWorkerRegistrationOptions(origin), nullptr /* provider_host */, base::Bind(&PlatformNotificationContextTest::DidRegisterServiceWorker, base::Unretained(this), &service_worker_registration_id)); base::RunLoop().RunUntilIdle(); ASSERT_NE(service_worker_registration_id, - kInvalidServiceWorkerRegistrationId); + blink::mojom::kInvalidServiceWorkerRegistrationId); NotificationDatabaseData notification_database_data; |