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

Unified Diff: mojo/services/html_viewer/web_mime_registry_impl.h

Issue 1099303002: Move html_viewer from mojo/services to components. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 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: mojo/services/html_viewer/web_mime_registry_impl.h
diff --git a/mojo/services/html_viewer/web_mime_registry_impl.h b/mojo/services/html_viewer/web_mime_registry_impl.h
deleted file mode 100644
index a3769d648f1a7ffbc02ce4d7501bde01b540e767..0000000000000000000000000000000000000000
--- a/mojo/services/html_viewer/web_mime_registry_impl.h
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef MOJO_SERVICES_HTML_VIEWER_WEB_MIME_REGISTRY_IMPL_H_
-#define MOJO_SERVICES_HTML_VIEWER_WEB_MIME_REGISTRY_IMPL_H_
-
-#include "base/compiler_specific.h"
-#include "third_party/WebKit/public/platform/WebMimeRegistry.h"
-
-namespace html_viewer {
-
-class WebMimeRegistryImpl : public blink::WebMimeRegistry {
- public:
- WebMimeRegistryImpl() {}
- virtual ~WebMimeRegistryImpl() {}
-
- // WebMimeRegistry methods:
- virtual blink::WebMimeRegistry::SupportsType supportsMIMEType(
- const blink::WebString& mime_type);
- virtual blink::WebMimeRegistry::SupportsType supportsImageMIMEType(
- const blink::WebString& mime_type);
- virtual blink::WebMimeRegistry::SupportsType supportsImagePrefixedMIMEType(
- const blink::WebString& mime_type);
- virtual blink::WebMimeRegistry::SupportsType supportsJavaScriptMIMEType(
- const blink::WebString& mime_type);
- virtual blink::WebMimeRegistry::SupportsType supportsMediaMIMEType(
- const blink::WebString& mime_type,
- const blink::WebString& codecs,
- const blink::WebString& key_system);
- virtual bool supportsMediaSourceMIMEType(const blink::WebString& mime_type,
- const blink::WebString& codecs);
- virtual blink::WebMimeRegistry::SupportsType supportsNonImageMIMEType(
- const blink::WebString& mime_type);
- virtual blink::WebString mimeTypeForExtension(
- const blink::WebString& extension);
- virtual blink::WebString wellKnownMimeTypeForExtension(
- const blink::WebString& extension);
- virtual blink::WebString mimeTypeFromFile(const blink::WebString& path);
-};
-
-} // namespace html_viewer
-
-#endif // MOJO_SERVICES_HTML_VIEWER_WEB_MIME_REGISTRY_IMPL_H_
« no previous file with comments | « mojo/services/html_viewer/web_message_port_channel_impl.cc ('k') | mojo/services/html_viewer/web_mime_registry_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698