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

Side by Side Diff: net/url_request/test_url_fetcher_factory.h

Issue 268703003: Remove Referrer Policy from URLFetcher. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove set_referrer_policy 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
« no previous file with comments | « no previous file | net/url_request/test_url_fetcher_factory.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 NET_URL_REQUEST_TEST_URL_FETCHER_FACTORY_H_ 5 #ifndef NET_URL_REQUEST_TEST_URL_FETCHER_FACTORY_H_
6 #define NET_URL_REQUEST_TEST_URL_FETCHER_FACTORY_H_ 6 #define NET_URL_REQUEST_TEST_URL_FETCHER_FACTORY_H_
7 7
8 #include <list> 8 #include <list>
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 scoped_refptr<base::TaskRunner> file_task_runner) OVERRIDE; 97 scoped_refptr<base::TaskRunner> file_task_runner) OVERRIDE;
98 virtual void SetChunkedUpload( 98 virtual void SetChunkedUpload(
99 const std::string& upload_content_type) OVERRIDE; 99 const std::string& upload_content_type) OVERRIDE;
100 // Overriden to cache the chunks uploaded. Caller can read back the uploaded 100 // Overriden to cache the chunks uploaded. Caller can read back the uploaded
101 // chunks with the upload_chunks() accessor. 101 // chunks with the upload_chunks() accessor.
102 virtual void AppendChunkToUpload(const std::string& data, 102 virtual void AppendChunkToUpload(const std::string& data,
103 bool is_last_chunk) OVERRIDE; 103 bool is_last_chunk) OVERRIDE;
104 virtual void SetLoadFlags(int load_flags) OVERRIDE; 104 virtual void SetLoadFlags(int load_flags) OVERRIDE;
105 virtual int GetLoadFlags() const OVERRIDE; 105 virtual int GetLoadFlags() const OVERRIDE;
106 virtual void SetReferrer(const std::string& referrer) OVERRIDE; 106 virtual void SetReferrer(const std::string& referrer) OVERRIDE;
107 virtual void SetReferrerPolicy(
108 URLRequest::ReferrerPolicy referrer_policy) OVERRIDE;
109 virtual void SetExtraRequestHeaders( 107 virtual void SetExtraRequestHeaders(
110 const std::string& extra_request_headers) OVERRIDE; 108 const std::string& extra_request_headers) OVERRIDE;
111 virtual void AddExtraRequestHeader(const std::string& header_line) OVERRIDE; 109 virtual void AddExtraRequestHeader(const std::string& header_line) OVERRIDE;
112 virtual void SetRequestContext( 110 virtual void SetRequestContext(
113 URLRequestContextGetter* request_context_getter) OVERRIDE; 111 URLRequestContextGetter* request_context_getter) OVERRIDE;
114 virtual void SetFirstPartyForCookies( 112 virtual void SetFirstPartyForCookies(
115 const GURL& first_party_for_cookies) OVERRIDE; 113 const GURL& first_party_for_cookies) OVERRIDE;
116 virtual void SetURLRequestUserData( 114 virtual void SetURLRequestUserData(
117 const void* key, 115 const void* key,
118 const CreateDataCallback& create_data_callback) OVERRIDE; 116 const CreateDataCallback& create_data_callback) OVERRIDE;
(...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after
456 int id, 454 int id,
457 const GURL& url, 455 const GURL& url,
458 URLFetcher::RequestType request_type, 456 URLFetcher::RequestType request_type,
459 URLFetcherDelegate* d) OVERRIDE; 457 URLFetcherDelegate* d) OVERRIDE;
460 458
461 }; 459 };
462 460
463 } // namespace net 461 } // namespace net
464 462
465 #endif // NET_URL_REQUEST_TEST_URL_FETCHER_FACTORY_H_ 463 #endif // NET_URL_REQUEST_TEST_URL_FETCHER_FACTORY_H_
OLDNEW
« no previous file with comments | « no previous file | net/url_request/test_url_fetcher_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698