diff options
author | Pierre Rossi <pierre.rossi@digia.com> | 2014-06-17 16:15:35 +0200 |
---|---|---|
committer | Pierre Rossi <pierre.rossi@gmail.com> | 2014-08-04 17:22:42 +0200 |
commit | 7d90b44187cfa8f93df6a6341da41cf8192d18ad (patch) | |
tree | 47384a6837549df6c80759ae270bbd8651477bde /src/core/content_client_qt.h | |
parent | 35d66ce48248f07759cbe2a17437198e8e1948ed (diff) |
Expose better error information in loadRequest.
Use the chromium localized error strings for that purpose, otherwise the
error description is always empty.
While we're at it, let's tap into the chromium error pages, which should
hopefully make sense for most errors, and add some static asserts to
check that the qt quick enum and the core one are in sync.
Change-Id: Icf8fa7c3bf4a674c60a10950422135fb6930447a
Reviewed-by: Andras Becsi <andras.becsi@digia.com>
Diffstat (limited to 'src/core/content_client_qt.h')
-rw-r--r-- | src/core/content_client_qt.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/content_client_qt.h b/src/core/content_client_qt.h index 66f302825..ff4b543ec 100644 --- a/src/core/content_client_qt.h +++ b/src/core/content_client_qt.h @@ -51,6 +51,7 @@ class ContentClientQt : public content::ContentClient { public: virtual base::StringPiece GetDataResource(int, ui::ScaleFactor) const Q_DECL_OVERRIDE; virtual base::string16 GetLocalizedString(int message_id) const Q_DECL_OVERRIDE; + virtual std::string GetProduct() const Q_DECL_OVERRIDE; }; #endif // CONTENT_CLIENT_QT_H |