blob: 2b9bf1dec8741e9fe989ebc09824ca9a534bd90b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// 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_WEBERROR_H__
#define WEBKIT_GLUE_WEBERROR_H__
class GURL;
class WebError {
public:
// The network error code.
virtual int GetErrorCode() const = 0;
// The URL that failed.
virtual const GURL& GetFailedURL() const = 0;
};
#endif // WEBKIT_GLUE_WEBERROR_H__
|