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

Unified Diff: webkit/glue/plugins/plugin_stream_url.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/glue/plugins/plugin_stream_url.h ('k') | webkit/glue/plugins/plugin_stream_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/plugins/plugin_stream_url.cc
diff --git a/webkit/plugins/npapi/plugin_stream_url.cc b/webkit/glue/plugins/plugin_stream_url.cc
similarity index 88%
rename from webkit/plugins/npapi/plugin_stream_url.cc
rename to webkit/glue/plugins/plugin_stream_url.cc
index b7efcdfbb982817ff034a3b34c8c68f8b12e1bd2..7f9f35585b416c5ed609f7ba1ddd9146ba43a0db 100644
--- a/webkit/plugins/npapi/plugin_stream_url.cc
+++ b/webkit/glue/plugins/plugin_stream_url.cc
@@ -2,16 +2,15 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "webkit/plugins/npapi/plugin_stream_url.h"
+#include "webkit/glue/plugins/plugin_stream_url.h"
#include "net/http/http_response_headers.h"
-#include "webkit/plugins/npapi/plugin_host.h"
-#include "webkit/plugins/npapi/plugin_instance.h"
-#include "webkit/plugins/npapi/plugin_lib.h"
-#include "webkit/plugins/npapi/webplugin.h"
+#include "webkit/glue/plugins/plugin_host.h"
+#include "webkit/glue/plugins/plugin_instance.h"
+#include "webkit/glue/plugins/plugin_lib.h"
+#include "webkit/glue/plugins/webplugin.h"
-namespace webkit {
-namespace npapi {
+namespace NPAPI {
PluginStreamUrl::PluginStreamUrl(
unsigned long resource_id,
@@ -40,8 +39,8 @@ bool PluginStreamUrl::Close(NPReason reason) {
return result;
}
-WebPluginResourceClient* PluginStreamUrl::AsResourceClient() {
- return static_cast<WebPluginResourceClient*>(this);
+webkit_glue::WebPluginResourceClient* PluginStreamUrl::AsResourceClient() {
+ return static_cast<webkit_glue::WebPluginResourceClient*>(this);
}
void PluginStreamUrl::WillSendRequest(const GURL& url, int http_status_code) {
@@ -128,5 +127,4 @@ void PluginStreamUrl::CancelRequest() {
}
}
-} // namespace npapi
-} // namespace webkit
+} // namespace NPAPI
« no previous file with comments | « webkit/glue/plugins/plugin_stream_url.h ('k') | webkit/glue/plugins/plugin_stream_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698