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

Side by Side Diff: webkit/plugins/webplugininfo.cc

Issue 15995038: Use a direct include of utf_string_conversions.h in google_apis/, gpu/, ipc/, media/, ppapi/, print… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: better Created 7 years, 6 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
« no previous file with comments | « webkit/plugins/ppapi/ppb_graphics_3d_impl.cc ('k') | webkit/renderer/cpp_bound_class.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #include "webkit/plugins/webplugininfo.h" 5 #include "webkit/plugins/webplugininfo.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/utf_string_conversions.h" 8 #include "base/strings/utf_string_conversions.h"
9 9
10 namespace webkit { 10 namespace webkit {
11 11
12 WebPluginMimeType::WebPluginMimeType() {} 12 WebPluginMimeType::WebPluginMimeType() {}
13 13
14 WebPluginMimeType::WebPluginMimeType(const std::string& m, 14 WebPluginMimeType::WebPluginMimeType(const std::string& m,
15 const std::string& f, 15 const std::string& f,
16 const std::string& d) 16 const std::string& d)
17 : mime_type(m), 17 : mime_type(m),
18 file_extensions(), 18 file_extensions(),
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 (plugin.type == WebPluginInfo::PLUGIN_TYPE_PEPPER_UNSANDBOXED)); 69 (plugin.type == WebPluginInfo::PLUGIN_TYPE_PEPPER_UNSANDBOXED));
70 } 70 }
71 71
72 bool IsOutOfProcessPlugin(const WebPluginInfo& plugin) { 72 bool IsOutOfProcessPlugin(const WebPluginInfo& plugin) {
73 return ((plugin.type == WebPluginInfo::PLUGIN_TYPE_NPAPI) || 73 return ((plugin.type == WebPluginInfo::PLUGIN_TYPE_NPAPI) ||
74 (plugin.type == WebPluginInfo::PLUGIN_TYPE_PEPPER_OUT_OF_PROCESS) || 74 (plugin.type == WebPluginInfo::PLUGIN_TYPE_PEPPER_OUT_OF_PROCESS) ||
75 (plugin.type == WebPluginInfo::PLUGIN_TYPE_PEPPER_UNSANDBOXED)); 75 (plugin.type == WebPluginInfo::PLUGIN_TYPE_PEPPER_UNSANDBOXED));
76 } 76 }
77 77
78 } // namespace webkit 78 } // namespace webkit
OLDNEW
« no previous file with comments | « webkit/plugins/ppapi/ppb_graphics_3d_impl.cc ('k') | webkit/renderer/cpp_bound_class.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698