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

Side by Side Diff: webkit/plugins/npapi/plugin_stream.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
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 // TODO : Support NP_ASFILEONLY mode 5 // TODO : Support NP_ASFILEONLY mode
6 // TODO : Support NP_SEEK mode 6 // TODO : Support NP_SEEK mode
7 // TODO : Support SEEKABLE=true in NewStream 7 // TODO : Support SEEKABLE=true in NewStream
8 8
9 #include "webkit/plugins/npapi/plugin_stream.h" 9 #include "webkit/plugins/npapi/plugin_stream.h"
10 10
11 #include <algorithm> 11 #include <algorithm>
12 12
13 #include "base/bind.h" 13 #include "base/bind.h"
14 #include "base/message_loop.h" 14 #include "base/message_loop.h"
15 #include "base/string_util.h" 15 #include "base/string_util.h"
16 #include "base/utf_string_conversions.h" 16 #include "base/strings/utf_string_conversions.h"
17 #include "googleurl/src/gurl.h"
17 #include "net/base/mime_util.h" 18 #include "net/base/mime_util.h"
18 #include "webkit/plugins/npapi/plugin_instance.h" 19 #include "webkit/plugins/npapi/plugin_instance.h"
19 #include "googleurl/src/gurl.h"
20 20
21 namespace webkit { 21 namespace webkit {
22 namespace npapi { 22 namespace npapi {
23 23
24 PluginStream::PluginStream( 24 PluginStream::PluginStream(
25 PluginInstance* instance, 25 PluginInstance* instance,
26 const char* url, 26 const char* url,
27 bool need_notify, 27 bool need_notify,
28 void* notify_data) 28 void* notify_data)
29 : instance_(instance), 29 : instance_(instance),
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 } 280 }
281 } 281 }
282 282
283 bool PluginStream::RequestedPluginModeIsAsFile() const { 283 bool PluginStream::RequestedPluginModeIsAsFile() const {
284 return (requested_plugin_mode_ == NP_ASFILE || 284 return (requested_plugin_mode_ == NP_ASFILE ||
285 requested_plugin_mode_ == NP_ASFILEONLY); 285 requested_plugin_mode_ == NP_ASFILEONLY);
286 } 286 }
287 287
288 } // namespace npapi 288 } // namespace npapi
289 } // namespace webkit 289 } // namespace webkit
OLDNEW
« no previous file with comments | « webkit/plugins/npapi/plugin_list_unittest.cc ('k') | webkit/plugins/npapi/plugin_utils_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698