diff options
Diffstat (limited to 'chrome/renderer/localized_error.h')
-rw-r--r-- | chrome/renderer/localized_error.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/chrome/renderer/localized_error.h b/chrome/renderer/localized_error.h index a5a36c1..f327161 100644 --- a/chrome/renderer/localized_error.h +++ b/chrome/renderer/localized_error.h @@ -10,10 +10,13 @@ #include "base/basictypes.h" -class DictionaryValue; class Extension; class GURL; +namespace base { +class DictionaryValue; +} + namespace WebKit { struct WebURLError; } @@ -23,7 +26,7 @@ class LocalizedError { // Fills |error_strings| with values to be used to build an error page used // on HTTP errors, like 404 or connection reset. static void GetStrings(const WebKit::WebURLError& error, - DictionaryValue* strings); + base::DictionaryValue* strings); // Returns true if an error page exists for the specified parameters. static bool HasStrings(const std::string& error_domain, int error_code); @@ -33,7 +36,7 @@ class LocalizedError { // repost "error page" has no real error associated with it, and doesn't have // enough strings localized to meaningfully fill the net error template. static void GetFormRepostStrings(const GURL& display_url, - DictionaryValue* error_strings); + base::DictionaryValue* error_strings); // Fills |error_strings| with values to be used to build an error page used // on HTTP errors, like 404 or connection reset, but using information from @@ -42,7 +45,7 @@ class LocalizedError { static void GetAppErrorStrings(const WebKit::WebURLError& error, const GURL& display_url, const Extension* app, - DictionaryValue* error_strings); + base::DictionaryValue* error_strings); static const char kHttpErrorDomain[]; |