| OLD | NEW |
| 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" | 10 #include "base/basictypes.h" |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 | 24 |
| 25 // Returns an opaque value containing the state of the SSL connection that | 25 // Returns an opaque value containing the state of the SSL connection that |
| 26 // the resource was loaded on, or an empty string if no SSL connection was | 26 // the resource was loaded on, or an empty string if no SSL connection was |
| 27 // used. | 27 // used. |
| 28 virtual std::string GetSecurityInfo() const = 0; | 28 virtual std::string GetSecurityInfo() const = 0; |
| 29 | 29 |
| 30 // Returns whether the content of this resource was filtered (usually for | 30 // Returns whether the content of this resource was filtered (usually for |
| 31 // security reasons). | 31 // security reasons). |
| 32 virtual bool IsContentFiltered() const = 0; | 32 virtual bool IsContentFiltered() const = 0; |
| 33 | 33 |
| 34 // Returns the appcacheId this response was loaded from, or kNoAppCacheId. |
| 35 virtual int64 GetAppCacheID() const = 0; |
| 36 |
| 34 virtual ~WebResponse() {} | 37 virtual ~WebResponse() {} |
| 35 }; | 38 }; |
| 36 | 39 |
| 37 #endif // #ifndef WEBKIT_GLUE_WEBURLRESPONSE_H_ | 40 #endif // #ifndef WEBKIT_GLUE_WEBURLRESPONSE_H_ |
| OLD | NEW |