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

Unified Diff: extensions/browser/api/mime_handler_private/mime_handler_private.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: extensions/browser/api/mime_handler_private/mime_handler_private.h
diff --git a/extensions/browser/api/mime_handler_private/mime_handler_private.h b/extensions/browser/api/mime_handler_private/mime_handler_private.h
index 3c6318d208e1267e705d485902a2e5c38023d3f8..3e202a233bc2fb9b79a12d53affb2bde732d4529 100644
--- a/extensions/browser/api/mime_handler_private/mime_handler_private.h
+++ b/extensions/browser/api/mime_handler_private/mime_handler_private.h
@@ -8,6 +8,7 @@
#include "base/callback.h"
#include "base/memory/weak_ptr.h"
#include "extensions/common/api/mime_handler.mojom.h"
+#include "services/service_manager/public/cpp/bind_source_info.h"
namespace extensions {
class StreamContainer;
@@ -20,6 +21,7 @@ class MimeHandlerServiceImpl : public mime_handler::MimeHandlerService {
~MimeHandlerServiceImpl() override;
static void Create(base::WeakPtr<StreamContainer> stream_container,
+ const service_manager::BindSourceInfo& source_info,
mime_handler::MimeHandlerServiceRequest request);
private:

Powered by Google App Engine
This is Rietveld 408576698