blob: 9e985867ae9db923060100334c5eef2b8ae7f457 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef WEBKIT_GLUE_WEBURLRESPONSE_H__
#define WEBKIT_GLUE_WEBURLRESPONSE_H__
#include <string>
class GURL;
class WebResponse {
public:
// Get the URL.
virtual GURL GetURL() const = 0;
// Get the http status code.
virtual int GetHttpStatusCode() const = 0;
// Returns an opaque value containing the state of the SSL connection that
// the resource was loaded on, or an empty string if no SSL connection was
// used.
virtual std::string GetSecurityInfo() const = 0;
WebResponse() { }
virtual ~WebResponse() { }
private:
DISALLOW_EVIL_CONSTRUCTORS(WebResponse);
};
#endif // #ifndef WEBKIT_GLUE_WEBURLRESPONSE_H__
|