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

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

Issue 405011: Use an explicit boolean has_new_first_party_for_cookies instead... (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
« no previous file with comments | « chrome/common/resource_dispatcher_unittest.cc ('k') | chrome/common/security_filter_peer.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) 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 24 matching lines...) Expand all
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 bool* has_new_first_party_for_cookies,
45 GURL* new_first_party_for_cookies); 46 GURL* new_first_party_for_cookies);
46 virtual void OnReceivedResponse( 47 virtual void OnReceivedResponse(
47 const webkit_glue::ResourceLoaderBridge::ResponseInfo& info, 48 const webkit_glue::ResourceLoaderBridge::ResponseInfo& info,
48 bool content_filtered); 49 bool content_filtered);
49 virtual void OnReceivedData(const char* data, int len); 50 virtual void OnReceivedData(const char* data, int len);
50 virtual void OnCompletedRequest(const URLRequestStatus& status, 51 virtual void OnCompletedRequest(const URLRequestStatus& status,
51 const std::string& security_info); 52 const std::string& security_info);
52 virtual GURL GetURLForDebugging() const; 53 virtual GURL GetURLForDebugging() const;
53 54
54 protected: 55 protected:
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 virtual ~ImageFilterPeer(); 137 virtual ~ImageFilterPeer();
137 138
138 protected: 139 protected:
139 virtual bool DataReady(); 140 virtual bool DataReady();
140 141
141 private: 142 private:
142 DISALLOW_COPY_AND_ASSIGN(ImageFilterPeer); 143 DISALLOW_COPY_AND_ASSIGN(ImageFilterPeer);
143 }; 144 };
144 145
145 #endif // CHROME_COMMON_SECURITY_FILTER_PEER_H__ 146 #endif // CHROME_COMMON_SECURITY_FILTER_PEER_H__
OLDNEW
« no previous file with comments | « chrome/common/resource_dispatcher_unittest.cc ('k') | chrome/common/security_filter_peer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698