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

Side by Side Diff: webkit/glue/plugins/plugin_stream.cc

Issue 830002: win: string_util.h -> utf_string_conversions.h fix. (Closed)
Patch Set: Don't remove utf_string_conversions.h from string_util.h just yet Created 10 years, 9 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
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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/glue/plugins/plugin_stream.h" 9 #include "webkit/glue/plugins/plugin_stream.h"
10 10
11 #include "base/message_loop.h"
11 #include "base/string_util.h" 12 #include "base/string_util.h"
12 #include "base/message_loop.h" 13 #include "base/utf_string_conversions.h"
13 #include "net/base/mime_util.h" 14 #include "net/base/mime_util.h"
14 #include "webkit/glue/plugins/plugin_instance.h" 15 #include "webkit/glue/plugins/plugin_instance.h"
15 #include "googleurl/src/gurl.h" 16 #include "googleurl/src/gurl.h"
16 17
17 namespace NPAPI { 18 namespace NPAPI {
18 19
19 PluginStream::~PluginStream() { 20 PluginStream::~PluginStream() {
20 // always close our temporary files. 21 // always close our temporary files.
21 CloseTempFile(); 22 CloseTempFile();
22 free(const_cast<char*>(stream_.url)); 23 free(const_cast<char*>(stream_.url));
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 } 245 }
245 246
246 void PluginStream::Notify(NPReason reason) { 247 void PluginStream::Notify(NPReason reason) {
247 if (notify_needed_) { 248 if (notify_needed_) {
248 instance_->NPP_URLNotify(stream_.url, reason, notify_data_); 249 instance_->NPP_URLNotify(stream_.url, reason, notify_data_);
249 notify_needed_ = false; 250 notify_needed_ = false;
250 } 251 }
251 } 252 }
252 253
253 } // namespace NPAPI 254 } // namespace NPAPI
OLDNEW
« no previous file with comments | « webkit/default_plugin/plugin_database_handler.cc ('k') | webkit/tools/test_shell/test_shell_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698