Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(257)

Unified Diff: chrome/common/localized_error.h

Issue 664553007: Cleanup: Put more chrome/ code behind ENABLE_EXTENSIONS ifdefs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git/+/master
Patch Set: fix android Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/browser_navigator.cc ('k') | chrome/common/localized_error.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/localized_error.h
diff --git a/chrome/common/localized_error.h b/chrome/common/localized_error.h
index 92fa271c688d3098a63dade923b311f4eebeef92..94caed6dfc5e6ddd0078223238a8d41375fcbf6a 100644
--- a/chrome/common/localized_error.h
+++ b/chrome/common/localized_error.h
@@ -50,6 +50,7 @@ class LocalizedError {
// Returns true if an error page exists for the specified parameters.
static bool HasStrings(const std::string& error_domain, int error_code);
+#if defined(ENABLE_EXTENSIONS)
// 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
// the associated |app| in order to make the error page look like it's more
@@ -57,6 +58,7 @@ class LocalizedError {
static void GetAppErrorStrings(const GURL& display_url,
const extensions::Extension* app,
base::DictionaryValue* error_strings);
+#endif
static const char kHttpErrorDomain[];
« no previous file with comments | « chrome/browser/ui/browser_navigator.cc ('k') | chrome/common/localized_error.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698