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

Side by Side Diff: content/child/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, 10 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WEBKIT_GLUE_SIMPLE_WEBMIMEREGISTRY_IMPL_H_ 5 #ifndef CONTENT_CHILD_SIMPLE_WEBMIMEREGISTRY_IMPL_H_
6 #define WEBKIT_GLUE_SIMPLE_WEBMIMEREGISTRY_IMPL_H_ 6 #define CONTENT_CHILD_SIMPLE_WEBMIMEREGISTRY_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 #include "content/common/content_export.h"
11 #include "third_party/WebKit/public/platform/WebMimeRegistry.h" 12 #include "third_party/WebKit/public/platform/WebMimeRegistry.h"
12 #include "webkit/glue/webkit_glue_export.h"
13 13
14 namespace webkit_glue { 14 namespace content {
15 15
16 class WEBKIT_GLUE_EXPORT SimpleWebMimeRegistryImpl : 16 class CONTENT_EXPORT SimpleWebMimeRegistryImpl :
17 NON_EXPORTED_BASE(public blink::WebMimeRegistry) { 17 NON_EXPORTED_BASE(public blink::WebMimeRegistry) {
18 public: 18 public:
19 SimpleWebMimeRegistryImpl() {} 19 SimpleWebMimeRegistryImpl() {}
20 virtual ~SimpleWebMimeRegistryImpl() {} 20 virtual ~SimpleWebMimeRegistryImpl() {}
21 21
22 // Convert a WebString to ASCII, falling back on an empty string in the case 22 // Convert a WebString to ASCII, falling back on an empty string in the case
23 // of a non-ASCII string. 23 // of a non-ASCII string.
24 static std::string ToASCIIOrEmpty(const blink::WebString& string); 24 static std::string ToASCIIOrEmpty(const blink::WebString& string);
25 25
26 // WebMimeRegistry methods: 26 // WebMimeRegistry methods:
(...skipping 10 matching lines...) Expand all
37 virtual bool supportsMediaSourceMIMEType(const blink::WebString&, 37 virtual bool supportsMediaSourceMIMEType(const blink::WebString&,
38 const blink::WebString&); 38 const blink::WebString&);
39 virtual blink::WebMimeRegistry::SupportsType supportsNonImageMIMEType( 39 virtual blink::WebMimeRegistry::SupportsType supportsNonImageMIMEType(
40 const blink::WebString&); 40 const blink::WebString&);
41 virtual blink::WebString mimeTypeForExtension(const blink::WebString&); 41 virtual blink::WebString mimeTypeForExtension(const blink::WebString&);
42 virtual blink::WebString wellKnownMimeTypeForExtension( 42 virtual blink::WebString wellKnownMimeTypeForExtension(
43 const blink::WebString&); 43 const blink::WebString&);
44 virtual blink::WebString mimeTypeFromFile(const blink::WebString&); 44 virtual blink::WebString mimeTypeFromFile(const blink::WebString&);
45 }; 45 };
46 46
47 } // namespace webkit_glue 47 } // namespace content
48 48
49 #endif // WEBKIT_GLUE_SIMPLE_WEBMIMEREGISTRY_IMPL_H_ 49 #endif // CONTENT_CHILD_SIMPLE_WEBMIMEREGISTRY_IMPL_H_
OLDNEW
« no previous file with comments | « content/child/fileapi/webfilesystem_impl.cc ('k') | content/child/simple_webmimeregistry_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698