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

Unified Diff: chrome/common/prerender_types.h

Issue 113803003: Add <link rel=next> support to prerender. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: whitespace Created 7 years 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/prerender_types.h
diff --git a/chrome/common/prerender_types.h b/chrome/common/prerender_types.h
new file mode 100644
index 0000000000000000000000000000000000000000..d1c970cc4ccc204b51142cf88d4adfe10db105cd
--- /dev/null
+++ b/chrome/common/prerender_types.h
@@ -0,0 +1,19 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_COMMON_PRERENDER_TYPES_H_
+#define CHROME_COMMON_PRERENDER_TYPES_H_
+
+namespace prerender {
+
+// PrerenderRelType is a bitfield since multiple rel attributes can be set
+// on the same link.
+enum PrerenderRelType {
+ PrerenderRelTypePrerender = 0x1,
+ PrerenderRelTypeNext = 0x2,
davidben 2013/12/19 20:30:03 Probably worth a comment saying this should stay i
gavinp 2013/12/20 14:44:48 Done.
+};
+
+} // namespace prerender
+
+#endif // CHROME_COMMON_PRERENDER_TYPES_H_

Powered by Google App Engine
This is Rietveld 408576698