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

Unified Diff: webkit/glue/plugins/plugin_data_stream.h

Issue 2896: This CB fixes the following issues:-... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/glue/multipart_response_delegate_unittest.cc ('k') | webkit/glue/plugins/plugin_data_stream.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/plugins/plugin_data_stream.h
===================================================================
--- webkit/glue/plugins/plugin_data_stream.h (revision 2387)
+++ webkit/glue/plugins/plugin_data_stream.h (working copy)
@@ -1,42 +0,0 @@
-// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef WEBKIT_GLUE_PLUGIN_PLUGIN_DATA_STREAM_H__
-#define WEBKIT_GLUE_PLUGIN_PLUGIN_DATA_STREAM_H__
-
-#include "webkit/glue/plugins/plugin_stream.h"
-
-namespace NPAPI {
-
-class PluginInstance;
-
-// A NPAPI stream based on data received from the renderer.
-class PluginDataStream : public PluginStream {
- public:
- // Create a new stream for sending to the plugin.
- PluginDataStream(PluginInstance *instance, const std::string& url,
- const std::string& mime_type, const std::string& headers,
- uint32 expected_length, uint32 last_modified);
- virtual ~PluginDataStream();
-
- // Initiates the sending of data to the plugin.
- void SendToPlugin(const char* buffer, int length);
-
- private:
- std::string mime_type_;
- std::string headers_;
- uint32 expected_length_;
- uint32 last_modified_;
- // This flag when set serves as an indicator that subsequent
- // data coming from the renderer should not be handed off to the plugin.
- bool stream_open_failed_;
-
- DISALLOW_EVIL_CONSTRUCTORS(PluginDataStream);
-};
-
-} // namespace NPAPI
-
-#endif // WEBKIT_GLUE_PLUGIN_PLUGIN_DATA_STREAM_H__
-
-
« no previous file with comments | « webkit/glue/multipart_response_delegate_unittest.cc ('k') | webkit/glue/plugins/plugin_data_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698