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

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

Issue 519333002: Move resource_loader_bridge.* from webkit/child to content/child. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sort + REBASE Created 6 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
« no previous file with comments | « content/child/BUILD.gn ('k') | content/child/npapi/plugin_url_fetcher.cc » ('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) 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 {
15 class ResourceLoaderBridge;
16 }
17
18 namespace content { 14 namespace content {
19 class MultipartResponseDelegate; 15 class MultipartResponseDelegate;
20 class PluginStreamUrl; 16 class PluginStreamUrl;
17 class ResourceLoaderBridge;
21 18
22 // Fetches URLS for a plugin using ResourceDispatcher. 19 // Fetches URLS for a plugin using ResourceDispatcher.
23 class PluginURLFetcher : public RequestPeer { 20 class PluginURLFetcher : public RequestPeer {
24 public: 21 public:
25 PluginURLFetcher(PluginStreamUrl* plugin_stream, 22 PluginURLFetcher(PluginStreamUrl* plugin_stream,
26 const GURL& url, 23 const GURL& url,
27 const GURL& first_party_for_cookies, 24 const GURL& first_party_for_cookies,
28 const std::string& method, 25 const std::string& method,
29 const char* buf, 26 const char* buf,
30 unsigned int len, 27 unsigned int len,
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 int origin_pid_; 78 int origin_pid_;
82 int render_frame_id_; 79 int render_frame_id_;
83 int render_view_id_; 80 int render_view_id_;
84 unsigned long resource_id_; 81 unsigned long resource_id_;
85 bool copy_stream_data_; 82 bool copy_stream_data_;
86 int64 data_offset_; 83 int64 data_offset_;
87 bool pending_failure_notification_; 84 bool pending_failure_notification_;
88 85
89 scoped_ptr<MultipartResponseDelegate> multipart_delegate_; 86 scoped_ptr<MultipartResponseDelegate> multipart_delegate_;
90 87
91 scoped_ptr<webkit_glue::ResourceLoaderBridge> bridge_; 88 scoped_ptr<ResourceLoaderBridge> bridge_;
92 89
93 DISALLOW_COPY_AND_ASSIGN(PluginURLFetcher); 90 DISALLOW_COPY_AND_ASSIGN(PluginURLFetcher);
94 }; 91 };
95 92
96 } // namespace content 93 } // namespace content
97 94
98 #endif // CONTENT_CHILD_NPAPI_URL_FETCHER_H_ 95 #endif // CONTENT_CHILD_NPAPI_URL_FETCHER_H_
OLDNEW
« no previous file with comments | « content/child/BUILD.gn ('k') | content/child/npapi/plugin_url_fetcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698