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

Unified Diff: chrome/browser/search/search.h

Issue 845973005: [New Tab Page] Change the mechanism to intercept online NTP errors (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: moved impl to cc Created 5 years, 11 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/browser/search/search.h
diff --git a/chrome/browser/search/search.h b/chrome/browser/search/search.h
index 6e5d9ba03c50ed2a6f80949f2ac2ba267d8d015e..821b298fd545d0612684ac585649ac35d357fc62 100644
--- a/chrome/browser/search/search.h
+++ b/chrome/browser/search/search.h
@@ -30,6 +30,13 @@ class PrefRegistrySyncable;
namespace chrome {
+// For reporting Cacheable NTP navigations.
+enum CacheableNTPLoad {
+ CACHEABLE_NTP_LOAD_FAILED = 0,
+ CACHEABLE_NTP_LOAD_SUCCEEDED = 1,
+ CACHEABLE_NTP_LOAD_MAX = 2
+};
+
enum OptInState {
// The user has not manually opted in/out of InstantExtended.
INSTANT_EXTENDED_NOT_SET,

Powered by Google App Engine
This is Rietveld 408576698