diff options
author | Pierre Rossi <pierre.rossi@digia.com> | 2014-07-01 18:38:59 +0200 |
---|---|---|
committer | Pierre Rossi <pierre.rossi@gmail.com> | 2014-07-30 21:44:07 +0200 |
commit | b40f4e1cc18f65716e455152d347d9a35f49e7de (patch) | |
tree | 6fe51b0e038601f404c69ba206441ddb196df9fb /chromium/chrome/common/localized_error.h | |
parent | 0c80763a1dd1b58d85d37207f4d783ffcf799b36 (diff) | |
download | qtwebengine-chromium-b40f4e1cc18f65716e455152d347d9a35f49e7de.tar.gz |
<chromium> Make localized_error work for us
Essentially cutting away the unnecessary part that depends on
extensions.
Change-Id: I8adbc77dca393ab8480e9cdea3c5c953b52c8aef
Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
Diffstat (limited to 'chromium/chrome/common/localized_error.h')
-rw-r--r-- | chromium/chrome/common/localized_error.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chromium/chrome/common/localized_error.h b/chromium/chrome/common/localized_error.h index a68407fada5..401adf2026d 100644 --- a/chromium/chrome/common/localized_error.h +++ b/chromium/chrome/common/localized_error.h @@ -47,9 +47,11 @@ class LocalizedError { // on HTTP errors, like 404 or connection reset, but using information from // the associated |app| in order to make the error page look like it's more // part of the app. +#if !defined(TOOLKIT_QT) static void GetAppErrorStrings(const GURL& display_url, const extensions::Extension* app, base::DictionaryValue* error_strings); +#endif // !defined(TOOLKIT_QT) static const char kHttpErrorDomain[]; |