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

Side by Side Diff: webkit/plugins/npapi/plugin_stream_win.cc

Issue 6012002: Move the NPAPI files from webkit/glue/plugins to webkit/plugins/npapi and put... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years 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/npapi/plugin_stream_url.cc ('k') | webkit/plugins/npapi/plugin_string_stream.h » ('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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/glue/plugins/plugin_stream.h" 5 #include "webkit/plugins/npapi/plugin_stream.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "webkit/glue/plugins/plugin_instance.h" 8 #include "webkit/plugins/npapi/plugin_instance.h"
9 9
10 namespace NPAPI { 10 namespace webkit {
11 namespace npapi {
11 12
12 PluginStream::PluginStream( 13 PluginStream::PluginStream(
13 PluginInstance *instance, 14 PluginInstance *instance,
14 const char *url, 15 const char *url,
15 bool need_notify, 16 bool need_notify,
16 void *notify_data) 17 void *notify_data)
17 : instance_(instance), 18 : instance_(instance),
18 notify_needed_(need_notify), 19 notify_needed_(need_notify),
19 notify_data_(notify_data), 20 notify_data_(notify_data),
20 close_on_write_data_(false), 21 close_on_write_data_(false),
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 if (temp_file_handle_ != INVALID_HANDLE_VALUE) { 88 if (temp_file_handle_ != INVALID_HANDLE_VALUE) {
88 CloseHandle(temp_file_handle_); 89 CloseHandle(temp_file_handle_);
89 temp_file_handle_ = INVALID_HANDLE_VALUE; 90 temp_file_handle_ = INVALID_HANDLE_VALUE;
90 } 91 }
91 } 92 }
92 93
93 bool PluginStream::TempFileIsValid() { 94 bool PluginStream::TempFileIsValid() {
94 return temp_file_handle_ != INVALID_HANDLE_VALUE; 95 return temp_file_handle_ != INVALID_HANDLE_VALUE;
95 } 96 }
96 97
97 } // namespace NPAPI 98 } // namespace npapi
99 } // namespace webkit
OLDNEW
« no previous file with comments | « webkit/plugins/npapi/plugin_stream_url.cc ('k') | webkit/plugins/npapi/plugin_string_stream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698