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

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

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

Powered by Google App Engine
This is Rietveld 408576698