Remove duplication in the Push Messaging enumerations
Remove the native enumeration types in favor of the generated mojom
ones, and, in consequence, the type conversions.
BUG=693366
Change-Id: I7745608d0ed8c02f2b6d8c184be20cc091f9d077
Reviewed-on: https://chromium-review.googlesource.com/568151
Reviewed-by: Avi Drissman <[email protected]>
Reviewed-by: Mike West <[email protected]>
Reviewed-by: John Mellor <[email protected]>
Commit-Queue: Peter Beverloo <[email protected]>
Cr-Commit-Position: refs/heads/master@{#486043}
diff --git a/content/browser/browser_context.cc b/content/browser/browser_context.cc
index 4330c11..0b7c64f03 100644
--- a/content/browser/browser_context.cc
+++ b/content/browser/browser_context.cc
@@ -345,7 +345,7 @@
const GURL& origin,
int64_t service_worker_registration_id,
const PushEventPayload& payload,
- const base::Callback<void(PushDeliveryStatus)>& callback) {
+ const base::Callback<void(mojom::PushDeliveryStatus)>& callback) {
DCHECK_CURRENTLY_ON(BrowserThread::UI);
PushMessagingRouter::DeliverMessage(browser_context, origin,
service_worker_registration_id, payload,