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

Unified Diff: chrome/common/prerender_types.h

Issue 2179903005: [Prerender] Change IPC from bool to enum for more prerender modes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@prefetchProto
Patch Set: Rebase Created 4 years, 4 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/common/prerender_messages.h ('k') | chrome/renderer/chrome_render_frame_observer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/prerender_types.h
diff --git a/chrome/common/prerender_types.h b/chrome/common/prerender_types.h
index 3ed3dd0fa07ebaf429732ecfd876044520e1f430..afa9deaf5d029a140b3b1eb58ca657a68c2ceaf3 100644
--- a/chrome/common/prerender_types.h
+++ b/chrome/common/prerender_types.h
@@ -14,6 +14,13 @@ enum PrerenderRelType {
PrerenderRelTypeNext = 0x2,
};
+enum PrerenderMode {
+ NO_PRERENDER = 0,
+ FULL_PRERENDER = 1, // Full rendering of the page.
+ PREFETCH_ONLY = 2, // Prefetch some network resources to warm up the cache.
+ PRERENDER_MODE_COUNT = 3,
+};
+
} // namespace prerender
#endif // CHROME_COMMON_PRERENDER_TYPES_H_
« no previous file with comments | « chrome/common/prerender_messages.h ('k') | chrome/renderer/chrome_render_frame_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698