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

Unified Diff: chrome/common/localized_error.h

Issue 1129353005: Move Google Cache copy suggestion to an action button in the neterror interstitial (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review comments Created 5 years, 7 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
Index: chrome/common/localized_error.h
diff --git a/chrome/common/localized_error.h b/chrome/common/localized_error.h
index 7d5e45a5073c9bc6329c74b1e02ad02cd767af73..a71740b1d38ab120905e85c10de6a0fe37f064f7 100644
--- a/chrome/common/localized_error.h
+++ b/chrome/common/localized_error.h
@@ -64,6 +64,13 @@ class LocalizedError {
static const char kHttpErrorDomain[];
private:
+ // Sets up the Google Cached Copy button experiment if part of the
+ // field trial. This promotes the Google cached copy suggestion from under
+ // the details section to a blue button.
+ static void EnableGoogleCachedCopyButtonExperiment(
+ base::ListValue* suggestions,
+ base::DictionaryValue* error_strings);
+
DISALLOW_IMPLICIT_CONSTRUCTORS(LocalizedError);
};

Powered by Google App Engine
This is Rietveld 408576698