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

Unified Diff: content/browser/notifications/blink_notification_service_impl.cc

Issue 2522553003: Mojo C++ bindings: switch WebKit mojom targets to use STL/WTF types. (Closed)
Patch Set: . Created 4 years, 1 month 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
Index: content/browser/notifications/blink_notification_service_impl.cc
diff --git a/content/browser/notifications/blink_notification_service_impl.cc b/content/browser/notifications/blink_notification_service_impl.cc
index 8db1cdd25b4935d72f9f15c5d5f60205610478fe..cef793145d6380d5ff81e2c156ffada43cfffb89 100644
--- a/content/browser/notifications/blink_notification_service_impl.cc
+++ b/content/browser/notifications/blink_notification_service_impl.cc
@@ -47,7 +47,7 @@ BlinkNotificationServiceImpl::~BlinkNotificationServiceImpl() {
}
void BlinkNotificationServiceImpl::GetPermissionStatus(
- const mojo::String& origin,
+ const std::string& origin,
const GetPermissionStatusCallback& callback) {
DCHECK_CURRENTLY_ON(BrowserThread::IO);
@@ -57,8 +57,8 @@ void BlinkNotificationServiceImpl::GetPermissionStatus(
}
blink::mojom::PermissionStatus permission_status =
- Service()->CheckPermissionOnIOThread(
- resource_context_, GURL(origin.get()), render_process_id_);
+ Service()->CheckPermissionOnIOThread(resource_context_, GURL(origin),
+ render_process_id_);
callback.Run(permission_status);
}
« no previous file with comments | « content/browser/notifications/blink_notification_service_impl.h ('k') | content/browser/notifications/type_converters.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698