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

Side by Side Diff: content/child/npapi/plugin_url_fetcher.h

Issue 226273005: Remove webkit's ResourceLoaderBridge interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 #ifndef CONTENT_CHILD_NPAPI_URL_FETCHER_H_ 5 #ifndef CONTENT_CHILD_NPAPI_URL_FETCHER_H_
6 #define CONTENT_CHILD_NPAPI_URL_FETCHER_H_ 6 #define CONTENT_CHILD_NPAPI_URL_FETCHER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "content/public/child/request_peer.h" 11 #include "content/public/child/request_peer.h"
12 #include "url/gurl.h" 12 #include "url/gurl.h"
13 13
14 namespace webkit_glue { 14 namespace webkit_glue {
15 class MultipartResponseDelegate; 15 class MultipartResponseDelegate;
16 class ResourceLoaderBridge;
17 } 16 }
18 17
19 namespace content { 18 namespace content {
20 class PluginStreamUrl; 19 class PluginStreamUrl;
20 class ResourceDispatcher;
21 21
22 // Fetches URLS for a plugin using ResourceDispatcher. 22 // Fetches URLS for a plugin using ResourceDispatcher.
23 class PluginURLFetcher : public RequestPeer { 23 class PluginURLFetcher : public RequestPeer {
24 public: 24 public:
25 PluginURLFetcher(PluginStreamUrl* plugin_stream, 25 PluginURLFetcher(PluginStreamUrl* plugin_stream,
26 const GURL& url, 26 const GURL& url,
27 const GURL& first_party_for_cookies, 27 const GURL& first_party_for_cookies,
28 const std::string& method, 28 const std::string& method,
29 const char* buf, 29 const char* buf,
30 unsigned int len, 30 unsigned int len,
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 int origin_pid_; 83 int origin_pid_;
84 int render_frame_id_; 84 int render_frame_id_;
85 int render_view_id_; 85 int render_view_id_;
86 unsigned long resource_id_; 86 unsigned long resource_id_;
87 bool copy_stream_data_; 87 bool copy_stream_data_;
88 int64 data_offset_; 88 int64 data_offset_;
89 bool pending_failure_notification_; 89 bool pending_failure_notification_;
90 90
91 scoped_ptr<webkit_glue::MultipartResponseDelegate> multipart_delegate_; 91 scoped_ptr<webkit_glue::MultipartResponseDelegate> multipart_delegate_;
92 92
93 scoped_ptr<webkit_glue::ResourceLoaderBridge> bridge_; 93 ResourceDispatcher* dispatcher_;
94 94
95 DISALLOW_COPY_AND_ASSIGN(PluginURLFetcher); 95 DISALLOW_COPY_AND_ASSIGN(PluginURLFetcher);
96 }; 96 };
97 97
98 } // namespace content 98 } // namespace content
99 99
100 #endif // CONTENT_CHILD_NPAPI_URL_FETCHER_H_ 100 #endif // CONTENT_CHILD_NPAPI_URL_FETCHER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698