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

Unified Diff: webkit/glue/simple_webmimeregistry_impl.h

Issue 151023002: Move the rest of webkit/glue into content/common (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rm webkit_glue.gyp Created 6 years, 11 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 | « ui/app_list/app_list.gyp ('k') | webkit/glue/simple_webmimeregistry_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/simple_webmimeregistry_impl.h
diff --git a/webkit/glue/simple_webmimeregistry_impl.h b/webkit/glue/simple_webmimeregistry_impl.h
deleted file mode 100644
index 9d765505b3163e8f733d4723400a81eafb3ab0a4..0000000000000000000000000000000000000000
--- a/webkit/glue/simple_webmimeregistry_impl.h
+++ /dev/null
@@ -1,49 +0,0 @@
-// Copyright (c) 2012 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 WEBKIT_GLUE_SIMPLE_WEBMIMEREGISTRY_IMPL_H_
-#define WEBKIT_GLUE_SIMPLE_WEBMIMEREGISTRY_IMPL_H_
-
-#include <string>
-
-#include "base/compiler_specific.h"
-#include "third_party/WebKit/public/platform/WebMimeRegistry.h"
-#include "webkit/glue/webkit_glue_export.h"
-
-namespace webkit_glue {
-
-class WEBKIT_GLUE_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:
- virtual blink::WebMimeRegistry::SupportsType supportsMIMEType(
- const blink::WebString&);
- virtual blink::WebMimeRegistry::SupportsType supportsImageMIMEType(
- const blink::WebString&);
- virtual blink::WebMimeRegistry::SupportsType supportsJavaScriptMIMEType(
- const blink::WebString&);
- virtual blink::WebMimeRegistry::SupportsType supportsMediaMIMEType(
- const blink::WebString&,
- const blink::WebString&,
- const blink::WebString&);
- virtual bool supportsMediaSourceMIMEType(const blink::WebString&,
- const blink::WebString&);
- virtual blink::WebMimeRegistry::SupportsType supportsNonImageMIMEType(
- const blink::WebString&);
- virtual blink::WebString mimeTypeForExtension(const blink::WebString&);
- virtual blink::WebString wellKnownMimeTypeForExtension(
- const blink::WebString&);
- virtual blink::WebString mimeTypeFromFile(const blink::WebString&);
-};
-
-} // namespace webkit_glue
-
-#endif // WEBKIT_GLUE_SIMPLE_WEBMIMEREGISTRY_IMPL_H_
« no previous file with comments | « ui/app_list/app_list.gyp ('k') | webkit/glue/simple_webmimeregistry_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698