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

Side by Side Diff: webkit/glue/webresponse.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_WEBURLRESPONSE_H__ 5 #ifndef WEBKIT_GLUE_WEBURLRESPONSE_H_
6 #define WEBKIT_GLUE_WEBURLRESPONSE_H__ 6 #define WEBKIT_GLUE_WEBURLRESPONSE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h"
11
10 class GURL; 12 class GURL;
11 13
12 class WebResponse { 14 class WebResponse {
13 public: 15 public:
14 // Get the URL. 16 // Get the URL.
15 virtual GURL GetURL() const = 0; 17 virtual GURL GetURL() const = 0;
16 18
17 // Get the http status code. 19 // Get the http status code.
18 virtual int GetHttpStatusCode() const = 0; 20 virtual int GetHttpStatusCode() const = 0;
19 21
20 // Returns an opaque value containing the state of the SSL connection that 22 // Returns an opaque value containing the state of the SSL connection that
21 // the resource was loaded on, or an empty string if no SSL connection was 23 // the resource was loaded on, or an empty string if no SSL connection was
22 // used. 24 // used.
23 virtual std::string GetSecurityInfo() const = 0; 25 virtual std::string GetSecurityInfo() const = 0;
24 26
25 // Returns whether the content of this resource was filtered (usually for 27 // Returns whether the content of this resource was filtered (usually for
26 // security reasons). 28 // security reasons).
27 virtual bool IsContentFiltered() const = 0; 29 virtual bool IsContentFiltered() const = 0;
28 30
29 WebResponse() { } 31 WebResponse() { }
30 virtual ~WebResponse() { } 32 virtual ~WebResponse() { }
31 33
32 private: 34 private:
33 DISALLOW_EVIL_CONSTRUCTORS(WebResponse); 35 DISALLOW_EVIL_CONSTRUCTORS(WebResponse);
34 }; 36 };
35 37
36 #endif // #ifndef WEBKIT_GLUE_WEBURLRESPONSE_H__ 38 #endif // #ifndef WEBKIT_GLUE_WEBURLRESPONSE_H_
37
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698