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

Side by Side Diff: webkit/plugins/npapi/plugin_stream_posix.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.cc ('k') | webkit/plugins/npapi/plugin_stream_url.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) 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/glue/plugins/plugin_stream.h" 5 #include "webkit/plugins/npapi/plugin_stream.h"
6 6
7 #include <string.h> 7 #include <string.h>
8 8
9 #include "base/file_path.h" 9 #include "base/file_path.h"
10 #include "base/file_util.h" 10 #include "base/file_util.h"
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "webkit/glue/plugins/plugin_instance.h" 12 #include "webkit/plugins/npapi/plugin_instance.h"
13 13
14 namespace NPAPI { 14 namespace webkit {
15 namespace npapi {
15 16
16 PluginStream::PluginStream( 17 PluginStream::PluginStream(
17 PluginInstance *instance, 18 PluginInstance *instance,
18 const char *url, 19 const char *url,
19 bool need_notify, 20 bool need_notify,
20 void *notify_data) 21 void *notify_data)
21 : instance_(instance), 22 : instance_(instance),
22 notify_needed_(need_notify), 23 notify_needed_(need_notify),
23 notify_data_(notify_data), 24 notify_data_(notify_data),
24 close_on_write_data_(false), 25 close_on_write_data_(false),
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 65
65 void PluginStream::CloseTempFile() { 66 void PluginStream::CloseTempFile() {
66 file_util::CloseFile(temp_file_); 67 file_util::CloseFile(temp_file_);
67 temp_file_ = NULL; 68 temp_file_ = NULL;
68 } 69 }
69 70
70 bool PluginStream::TempFileIsValid() { 71 bool PluginStream::TempFileIsValid() {
71 return temp_file_ != NULL; 72 return temp_file_ != NULL;
72 } 73 }
73 74
74 } // namespace NPAPI 75 } // namespace npapi
76 } // namespace webkit
OLDNEW
« no previous file with comments | « webkit/plugins/npapi/plugin_stream.cc ('k') | webkit/plugins/npapi/plugin_stream_url.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698