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

Unified Diff: content/browser/mime_registry_impl.h

Issue 2326913003: Privatize StrongBinding lifetime management (Closed)
Patch Set: rebase Created 4 years, 3 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/capture/image_capture_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 8adb70feb17c7caadbee2d9df0c2bd9cfdd223fd..6cdaadfa7449fab4959e2c0b3f0c766b6b6fd24f 100644
--- a/content/browser/mime_registry_impl.h
+++ b/content/browser/mime_registry_impl.h
@@ -5,24 +5,21 @@
#ifndef CONTENT_BROWSER_MIME_REGISTRY_IMPL_H_
#define CONTENT_BROWSER_MIME_REGISTRY_IMPL_H_
-#include "mojo/public/cpp/bindings/strong_binding.h"
#include "third_party/WebKit/public/platform/mime_registry.mojom.h"
namespace content {
class MimeRegistryImpl : public blink::mojom::MimeRegistry {
public:
+ MimeRegistryImpl();
+ ~MimeRegistryImpl() override;
+
static void Create(blink::mojom::MimeRegistryRequest request);
private:
- MimeRegistryImpl(blink::mojom::MimeRegistryRequest request);
- ~MimeRegistryImpl() override;
-
void GetMimeTypeFromExtension(
const mojo::String& extension,
const GetMimeTypeFromExtensionCallback& callback) override;
-
- mojo::StrongBinding<blink::mojom::MimeRegistry> binding_;
};
} // namespace content
« no previous file with comments | « content/browser/media/capture/image_capture_impl.cc ('k') | content/browser/mime_registry_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698