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

Unified Diff: content/browser/notifications/platform_notification_context_impl.h

Issue 2851173004: Eliminate bind callback that doesn't take a BindSourceInfo parameter. (Closed)
Patch Set: . Created 3 years, 8 months 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/platform_notification_context_impl.h
diff --git a/content/browser/notifications/platform_notification_context_impl.h b/content/browser/notifications/platform_notification_context_impl.h
index 1193cc6117fc6ae14fe9f0bb4aa8f7f06102361b..67405dc0de6d0ac82e449dce2ff6cdd5c10399d4 100644
--- a/content/browser/notifications/platform_notification_context_impl.h
+++ b/content/browser/notifications/platform_notification_context_impl.h
@@ -29,6 +29,10 @@ namespace base {
class SequencedTaskRunner;
}
+namespace service_manager {
+struct BindSourceInfo;
+}
+
namespace content {
class BlinkNotificationServiceImpl;
@@ -63,9 +67,9 @@ class CONTENT_EXPORT PlatformNotificationContextImpl
// Creates a BlinkNotificationServiceImpl that is owned by this context. Must
// be called on the UI thread, although the service will be created on and
// bound to the IO thread.
- void CreateService(
- int render_process_id,
- mojo::InterfaceRequest<blink::mojom::NotificationService> request);
+ void CreateService(int render_process_id,
+ const service_manager::BindSourceInfo& source_info,
+ blink::mojom::NotificationServiceRequest request);
// Removes |service| from the list of owned services, for example because the
// Mojo pipe disconnected. Must be called on the IO thread.
« no previous file with comments | « content/browser/mime_registry_impl.cc ('k') | content/browser/notifications/platform_notification_context_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698