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

Side by Side Diff: chrome/common/security_filter_peer.h

Issue 385024: Propagate the "first party for cookies" from WebKit through the resource... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Upload before checkin Created 11 years, 1 month 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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 5
6 #ifndef CHROME_COMMON_SECURITY_FILTER_PEER_H__ 6 #ifndef CHROME_COMMON_SECURITY_FILTER_PEER_H__
7 #define CHROME_COMMON_SECURITY_FILTER_PEER_H__ 7 #define CHROME_COMMON_SECURITY_FILTER_PEER_H__
8 8
9 #include "chrome/common/filter_policy.h" 9 #include "chrome/common/filter_policy.h"
10 #include "webkit/glue/resource_loader_bridge.h" 10 #include "webkit/glue/resource_loader_bridge.h"
(...skipping 23 matching lines...) Expand all
34 int os_error); 34 int os_error);
35 35
36 static SecurityFilterPeer* CreateSecurityFilterPeerForFrame( 36 static SecurityFilterPeer* CreateSecurityFilterPeerForFrame(
37 webkit_glue::ResourceLoaderBridge::Peer* peer, 37 webkit_glue::ResourceLoaderBridge::Peer* peer,
38 int os_error); 38 int os_error);
39 39
40 // ResourceLoaderBridge::Peer methods. 40 // ResourceLoaderBridge::Peer methods.
41 virtual void OnUploadProgress(uint64 position, uint64 size); 41 virtual void OnUploadProgress(uint64 position, uint64 size);
42 virtual bool OnReceivedRedirect( 42 virtual bool OnReceivedRedirect(
43 const GURL& new_url, 43 const GURL& new_url,
44 const webkit_glue::ResourceLoaderBridge::ResponseInfo& info); 44 const webkit_glue::ResourceLoaderBridge::ResponseInfo& info,
45 GURL* new_first_party_for_cookies);
45 virtual void OnReceivedResponse( 46 virtual void OnReceivedResponse(
46 const webkit_glue::ResourceLoaderBridge::ResponseInfo& info, 47 const webkit_glue::ResourceLoaderBridge::ResponseInfo& info,
47 bool content_filtered); 48 bool content_filtered);
48 virtual void OnReceivedData(const char* data, int len); 49 virtual void OnReceivedData(const char* data, int len);
49 virtual void OnCompletedRequest(const URLRequestStatus& status, 50 virtual void OnCompletedRequest(const URLRequestStatus& status,
50 const std::string& security_info); 51 const std::string& security_info);
51 virtual GURL GetURLForDebugging() const; 52 virtual GURL GetURLForDebugging() const;
52 53
53 protected: 54 protected:
54 SecurityFilterPeer(webkit_glue::ResourceLoaderBridge* resource_loader_bridge, 55 SecurityFilterPeer(webkit_glue::ResourceLoaderBridge* resource_loader_bridge,
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 virtual ~ImageFilterPeer(); 136 virtual ~ImageFilterPeer();
136 137
137 protected: 138 protected:
138 virtual bool DataReady(); 139 virtual bool DataReady();
139 140
140 private: 141 private:
141 DISALLOW_COPY_AND_ASSIGN(ImageFilterPeer); 142 DISALLOW_COPY_AND_ASSIGN(ImageFilterPeer);
142 }; 143 };
143 144
144 #endif // CHROME_COMMON_SECURITY_FILTER_PEER_H__ 145 #endif // CHROME_COMMON_SECURITY_FILTER_PEER_H__
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698