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

Unified Diff: content/child/simple_webmimeregistry_impl.h

Issue 2444873002: Move WebMIMERegistry impl from //content to blink:platform/network/mime (Closed)
Patch Set: rebased Created 4 years, 1 month 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/child/assert_matching_enums.cc ('k') | content/child/simple_webmimeregistry_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/simple_webmimeregistry_impl.h
diff --git a/content/child/simple_webmimeregistry_impl.h b/content/child/simple_webmimeregistry_impl.h
deleted file mode 100644
index 30a1fb7564e0011e9c7370842ec2f94837ec9d96..0000000000000000000000000000000000000000
--- a/content/child/simple_webmimeregistry_impl.h
+++ /dev/null
@@ -1,49 +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 CONTENT_CHILD_SIMPLE_WEBMIMEREGISTRY_IMPL_H_
-#define CONTENT_CHILD_SIMPLE_WEBMIMEREGISTRY_IMPL_H_
-
-#include <string>
-
-#include "base/compiler_specific.h"
-#include "content/common/content_export.h"
-#include "third_party/WebKit/public/platform/WebMimeRegistry.h"
-
-namespace content {
-
-class CONTENT_EXPORT SimpleWebMimeRegistryImpl :
- NON_EXPORTED_BASE(public blink::WebMimeRegistry) {
- public:
- SimpleWebMimeRegistryImpl() {}
- virtual ~SimpleWebMimeRegistryImpl() {}
-
- // Convert a WebString to ASCII, falling back on an empty string in the case
- // of a non-ASCII string.
- static std::string ToASCIIOrEmpty(const blink::WebString& string);
-
- // WebMimeRegistry methods:
- blink::WebMimeRegistry::SupportsType supportsMIMEType(
- const blink::WebString&) override;
- blink::WebMimeRegistry::SupportsType supportsImageMIMEType(
- const blink::WebString&) override;
- blink::WebMimeRegistry::SupportsType supportsImagePrefixedMIMEType(
- const blink::WebString&) override;
- blink::WebMimeRegistry::SupportsType supportsJavaScriptMIMEType(
- const blink::WebString&) override;
- blink::WebMimeRegistry::SupportsType supportsMediaMIMEType(
- const blink::WebString&,
- const blink::WebString&) override;
- bool supportsMediaSourceMIMEType(const blink::WebString&,
- const blink::WebString&) override;
- blink::WebMimeRegistry::SupportsType supportsNonImageMIMEType(
- const blink::WebString&) override;
- blink::WebString mimeTypeForExtension(const blink::WebString&) override;
- blink::WebString wellKnownMimeTypeForExtension(
- const blink::WebString&) override;
-};
-
-} // namespace content
-
-#endif // CONTENT_CHILD_SIMPLE_WEBMIMEREGISTRY_IMPL_H_
« no previous file with comments | « content/child/assert_matching_enums.cc ('k') | content/child/simple_webmimeregistry_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698