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

Side by Side Diff: webkit/glue/weburlrequest.h

Issue 115717: Roll webkit DEPS and fix compile errors. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 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 | « webkit/glue/webframeloaderclient_impl.cc ('k') | webkit/glue/weburlrequest_impl.h » ('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 #ifndef WEBKIT_GLUE_WEBURLREQUEST_H_ 5 #ifndef WEBKIT_GLUE_WEBURLREQUEST_H_
6 #define WEBKIT_GLUE_WEBURLREQUEST_H_ 6 #define WEBKIT_GLUE_WEBURLREQUEST_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
(...skipping 19 matching lines...) Expand all
30 // Creates a WebRequest. 30 // Creates a WebRequest.
31 static WebRequest* Create(const GURL& url); 31 static WebRequest* Create(const GURL& url);
32 32
33 // Creates a copy of this WebRequest. 33 // Creates a copy of this WebRequest.
34 virtual WebRequest* Clone() const = 0; 34 virtual WebRequest* Clone() const = 0;
35 35
36 // Get/set the URL. 36 // Get/set the URL.
37 virtual GURL GetURL() const = 0; 37 virtual GURL GetURL() const = 0;
38 virtual void SetURL(const GURL& url) = 0; 38 virtual void SetURL(const GURL& url) = 0;
39 39
40 // Get/set the main document URL, which may be different from the URL for a 40 // Get/set the URL of the first party for cookies, which may be different
wtc 2009/05/22 20:46:03 What does the first party for cookies mean?
41 // subframe load. 41 // from the URL for a subframe load.
42 virtual GURL GetMainDocumentURL() const = 0; 42 virtual GURL GetFirstPartyForCookies() const = 0;
43 virtual void SetMainDocumentURL(const GURL& url) = 0; 43 virtual void SetFirstPartyForCookies(const GURL& url) = 0;
44 44
45 // Get/set the cache policy. 45 // Get/set the cache policy.
46 virtual WebRequestCachePolicy GetCachePolicy() const = 0; 46 virtual WebRequestCachePolicy GetCachePolicy() const = 0;
47 virtual void SetCachePolicy(WebRequestCachePolicy policy) = 0; 47 virtual void SetCachePolicy(WebRequestCachePolicy policy) = 0;
48 48
49 // Get/set the HTTP request method. 49 // Get/set the HTTP request method.
50 virtual std::string GetHttpMethod() const = 0; 50 virtual std::string GetHttpMethod() const = 0;
51 virtual void SetHttpMethod(const std::string& method) = 0; 51 virtual void SetHttpMethod(const std::string& method) = 0;
52 52
53 // Returns the string corresponding to a header set in the request. If the 53 // Returns the string corresponding to a header set in the request. If the
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 // Set the request upload data. 96 // Set the request upload data.
97 virtual void SetUploadData(const net::UploadData& data) = 0; 97 virtual void SetUploadData(const net::UploadData& data) = 0;
98 98
99 // Sets the requestor id. 99 // Sets the requestor id.
100 virtual void SetRequestorID(int requestor_id) = 0; 100 virtual void SetRequestorID(int requestor_id) = 0;
101 101
102 virtual ~WebRequest() { } 102 virtual ~WebRequest() { }
103 }; 103 };
104 104
105 #endif // #ifndef WEBKIT_GLUE_WEBURLREQUEST_H_ 105 #endif // #ifndef WEBKIT_GLUE_WEBURLREQUEST_H_
OLDNEW
« no previous file with comments | « webkit/glue/webframeloaderclient_impl.cc ('k') | webkit/glue/weburlrequest_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698