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

Unified Diff: content/browser/mime_registry_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
« no previous file with comments | « content/browser/media/session/media_session_service_impl.cc ('k') | content/browser/mime_registry_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/mime_registry_impl.h
diff --git a/content/browser/mime_registry_impl.h b/content/browser/mime_registry_impl.h
index 733faa47d97c363e7f7f7dc47b421c4cca936409..31f1df3448588933f3c7dacafb94844463a479f4 100644
--- a/content/browser/mime_registry_impl.h
+++ b/content/browser/mime_registry_impl.h
@@ -7,6 +7,10 @@
#include "third_party/WebKit/public/platform/mime_registry.mojom.h"
+namespace service_manager {
+struct BindSourceInfo;
+}
+
namespace content {
class MimeRegistryImpl : public blink::mojom::MimeRegistry {
@@ -14,7 +18,8 @@ class MimeRegistryImpl : public blink::mojom::MimeRegistry {
MimeRegistryImpl();
~MimeRegistryImpl() override;
- static void Create(blink::mojom::MimeRegistryRequest request);
+ static void Create(const service_manager::BindSourceInfo& source_info,
+ blink::mojom::MimeRegistryRequest request);
private:
void GetMimeTypeFromExtension(
« no previous file with comments | « content/browser/media/session/media_session_service_impl.cc ('k') | content/browser/mime_registry_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698