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

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

Issue 264613006: Move first-party cookie URL logic to browser process. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 7 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 GURL referrer() { return referrer_; } 49 GURL referrer() { return referrer_; }
50 int origin_pid() { return origin_pid_; } 50 int origin_pid() { return origin_pid_; }
51 int render_frame_id() { return render_frame_id_; } 51 int render_frame_id() { return render_frame_id_; }
52 int render_view_id() { return render_view_id_; } 52 int render_view_id() { return render_view_id_; }
53 bool copy_stream_data() { return copy_stream_data_; } 53 bool copy_stream_data() { return copy_stream_data_; }
54 bool pending_failure_notification() { return pending_failure_notification_; } 54 bool pending_failure_notification() { return pending_failure_notification_; }
55 55
56 private: 56 private:
57 // RequestPeer implementation: 57 // RequestPeer implementation:
58 virtual void OnUploadProgress(uint64 position, uint64 size) OVERRIDE; 58 virtual void OnUploadProgress(uint64 position, uint64 size) OVERRIDE;
59 virtual bool OnReceivedRedirect(const GURL& new_url, 59 virtual bool OnReceivedRedirect(
60 const webkit_glue::ResourceResponseInfo& info, 60 const GURL& new_url,
61 bool* has_new_first_party_for_cookies, 61 const GURL& new_first_party_for_cookies,
62 GURL* new_first_party_for_cookies) OVERRIDE; 62 const webkit_glue::ResourceResponseInfo& info) OVERRIDE;
63 virtual void OnReceivedResponse( 63 virtual void OnReceivedResponse(
64 const webkit_glue::ResourceResponseInfo& info) OVERRIDE; 64 const webkit_glue::ResourceResponseInfo& info) OVERRIDE;
65 virtual void OnDownloadedData(int len, int encoded_data_length) OVERRIDE; 65 virtual void OnDownloadedData(int len, int encoded_data_length) OVERRIDE;
66 virtual void OnReceivedData(const char* data, 66 virtual void OnReceivedData(const char* data,
67 int data_length, 67 int data_length,
68 int encoded_data_length) OVERRIDE; 68 int encoded_data_length) OVERRIDE;
69 virtual void OnCompletedRequest(int error_code, 69 virtual void OnCompletedRequest(int error_code,
70 bool was_ignored_by_handler, 70 bool was_ignored_by_handler,
71 bool stale_copy_in_cache, 71 bool stale_copy_in_cache,
72 const std::string& security_info, 72 const std::string& security_info,
(...skipping 20 matching lines...) Expand all
93 scoped_ptr<webkit_glue::MultipartResponseDelegate> multipart_delegate_; 93 scoped_ptr<webkit_glue::MultipartResponseDelegate> multipart_delegate_;
94 94
95 scoped_ptr<webkit_glue::ResourceLoaderBridge> bridge_; 95 scoped_ptr<webkit_glue::ResourceLoaderBridge> bridge_;
96 96
97 DISALLOW_COPY_AND_ASSIGN(PluginURLFetcher); 97 DISALLOW_COPY_AND_ASSIGN(PluginURLFetcher);
98 }; 98 };
99 99
100 } // namespace content 100 } // namespace content
101 101
102 #endif // CONTENT_CHILD_NPAPI_URL_FETCHER_H_ 102 #endif // CONTENT_CHILD_NPAPI_URL_FETCHER_H_
OLDNEW
« no previous file with comments | « content/browser/loader/resource_dispatcher_host_unittest.cc ('k') | content/child/npapi/plugin_url_fetcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698