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

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

Issue 132233022: Fix chrome.webRequest.onBeforeRequest for requests coming from NPAPI plugin processes. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: sync Created 6 years, 11 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"
(...skipping 15 matching lines...) Expand all
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,
31 const GURL& referrer, 31 const GURL& referrer,
32 bool notify_redirects, 32 bool notify_redirects,
33 bool is_plugin_src_load, 33 bool is_plugin_src_load,
34 int origin_pid, 34 int origin_pid,
35 int render_frame_id, 35 int render_frame_id,
36 int render_view_id,
36 unsigned long resource_id, 37 unsigned long resource_id,
37 bool copy_stream_data); 38 bool copy_stream_data);
38 virtual ~PluginURLFetcher(); 39 virtual ~PluginURLFetcher();
39 40
40 // Cancels the current request. 41 // Cancels the current request.
41 void Cancel(); 42 void Cancel();
42 43
43 // Called with the plugin's reply to NPP_URLRedirectNotify. 44 // Called with the plugin's reply to NPP_URLRedirectNotify.
44 void URLRedirectResponse(bool allow); 45 void URLRedirectResponse(bool allow);
45 46
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 scoped_ptr<webkit_glue::MultipartResponseDelegate> multipart_delegate_; 80 scoped_ptr<webkit_glue::MultipartResponseDelegate> multipart_delegate_;
80 81
81 scoped_ptr<webkit_glue::ResourceLoaderBridge> bridge_; 82 scoped_ptr<webkit_glue::ResourceLoaderBridge> bridge_;
82 83
83 DISALLOW_COPY_AND_ASSIGN(PluginURLFetcher); 84 DISALLOW_COPY_AND_ASSIGN(PluginURLFetcher);
84 }; 85 };
85 86
86 } // namespace content 87 } // namespace content
87 88
88 #endif // CONTENT_CHILD_NPAPI_URL_FETCHER_H_ 89 #endif // CONTENT_CHILD_NPAPI_URL_FETCHER_H_
OLDNEW
« no previous file with comments | « content/browser/loader/resource_request_info_impl.cc ('k') | content/child/npapi/plugin_url_fetcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698