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

Side by Side Diff: content/child/npapi/plugin_instance.cc

Issue 23684023: Move the WebPluginResourceClient interface to its own header. Also fix up method order in webplugin… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | content/child/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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "content/child/npapi/plugin_instance.h" 5 #include "content/child/npapi/plugin_instance.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/file_util.h" 8 #include "base/file_util.h"
9 #include "base/message_loop/message_loop.h" 9 #include "base/message_loop/message_loop.h"
10 #include "base/strings/string_number_conversions.h" 10 #include "base/strings/string_number_conversions.h"
11 #include "base/strings/utf_string_conversions.h" 11 #include "base/strings/utf_string_conversions.h"
12 #include "build/build_config.h" 12 #include "build/build_config.h"
13 #include "content/child/npapi/plugin_host.h" 13 #include "content/child/npapi/plugin_host.h"
14 #include "content/child/npapi/plugin_lib.h" 14 #include "content/child/npapi/plugin_lib.h"
15 #include "content/child/npapi/plugin_stream_url.h" 15 #include "content/child/npapi/plugin_stream_url.h"
16 #include "content/child/npapi/plugin_string_stream.h" 16 #include "content/child/npapi/plugin_string_stream.h"
17 #include "content/child/npapi/webplugin.h" 17 #include "content/child/npapi/webplugin.h"
18 #include "content/child/npapi/webplugin_delegate.h" 18 #include "content/child/npapi/webplugin_delegate.h"
19 #include "content/child/npapi/webplugin_resource_client.h"
19 #include "content/public/common/content_constants.h" 20 #include "content/public/common/content_constants.h"
20 #include "net/base/escape.h" 21 #include "net/base/escape.h"
21 22
22 #if defined(OS_MACOSX) 23 #if defined(OS_MACOSX)
23 #include <ApplicationServices/ApplicationServices.h> 24 #include <ApplicationServices/ApplicationServices.h>
24 #endif 25 #endif
25 26
26 namespace content { 27 namespace content {
27 28
28 PluginInstance::PluginInstance(PluginLib* plugin, const std::string& mime_type) 29 PluginInstance::PluginInstance(PluginLib* plugin, const std::string& mime_type)
(...skipping 651 matching lines...) Expand 10 before | Expand all | Expand 10 after
680 if (allow) { 681 if (allow) {
681 plugin_stream->UpdateUrl( 682 plugin_stream->UpdateUrl(
682 plugin_stream->pending_redirect_url().c_str()); 683 plugin_stream->pending_redirect_url().c_str());
683 } 684 }
684 break; 685 break;
685 } 686 }
686 } 687 }
687 } 688 }
688 689
689 } // namespace content 690 } // namespace content
OLDNEW
« no previous file with comments | « no previous file | content/child/npapi/plugin_stream_url.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698