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

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

Issue 20378: Reduce the amount of included header files. Vast change like in "Oh God! This... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 10 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) 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
11 #include "base/basictypes.h"
12 #include "base/ref_counted.h" 11 #include "base/ref_counted.h"
13 12
14 enum WebRequestCachePolicy { 13 enum WebRequestCachePolicy {
15 WebRequestUseProtocolCachePolicy, 14 WebRequestUseProtocolCachePolicy,
16 WebRequestReloadIgnoringCacheData, 15 WebRequestReloadIgnoringCacheData,
17 WebRequestReturnCacheDataElseLoad, 16 WebRequestReturnCacheDataElseLoad,
18 WebRequestReturnCacheDataDontLoad 17 WebRequestReturnCacheDataDontLoad
19 }; 18 };
20 19
21 namespace net { 20 namespace net {
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 // Returns the request upload data. This object is temporary and should be 119 // Returns the request upload data. This object is temporary and should be
121 // deleted after use. 120 // deleted after use.
122 virtual void GetUploadData(net::UploadData* data) const = 0; 121 virtual void GetUploadData(net::UploadData* data) const = 0;
123 122
124 // Set the request upload data. 123 // Set the request upload data.
125 virtual void SetUploadData(const net::UploadData& data) = 0; 124 virtual void SetUploadData(const net::UploadData& data) = 0;
126 125
127 virtual ~WebRequest() { } 126 virtual ~WebRequest() { }
128 }; 127 };
129 128
130 #endif // #ifndef WEBKIT_GLUE_WEBURLREQUEST_H__ 129 #endif // #ifndef WEBKIT_GLUE_WEBURLREQUEST_H_
131
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698