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

Unified Diff: content/child/npapi/plugin_string_stream.h

Issue 1426923007: Remove PluginLoadObserver and related logic, it was only used for NPAPI. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/child/npapi/plugin_stream_win.cc ('k') | content/child/npapi/plugin_string_stream.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/npapi/plugin_string_stream.h
diff --git a/content/child/npapi/plugin_string_stream.h b/content/child/npapi/plugin_string_stream.h
deleted file mode 100644
index 73dac4418983b910f80a75de8851e57cfda66278..0000000000000000000000000000000000000000
--- a/content/child/npapi/plugin_string_stream.h
+++ /dev/null
@@ -1,40 +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 CONTENT_CHILD_NPAPI_PLUGIN_STRING_STREAM_H_
-#define CONTENT_CHILD_NPAPI_PLUGIN_STRING_STREAM_H_
-
-#include "content/child/npapi/plugin_stream.h"
-
-class GURL;
-
-namespace content {
-
-class PluginInstance;
-
-// An NPAPI stream from a string.
-class PluginStringStream : public PluginStream {
- public:
- // Create a new stream for sending to the plugin.
- // If notify_needed, will notify the plugin after the data has
- // all been sent.
- PluginStringStream(PluginInstance* instance,
- const GURL& url,
- bool notify_needed,
- void* notify_data);
-
- // Initiates the sending of data to the plugin.
- void SendToPlugin(const std::string& data,
- const std::string& mime_type);
-
- private:
- ~PluginStringStream() override;
-
- DISALLOW_COPY_AND_ASSIGN(PluginStringStream);
-};
-
-
-} // namespace content
-
-#endif // CONTENT_CHILD_NPAPI_PLUGIN_STRING_STREAM_H_
« no previous file with comments | « content/child/npapi/plugin_stream_win.cc ('k') | content/child/npapi/plugin_string_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698