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

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: fix memory leak Created 6 years, 10 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/prerender/prerender_dispatcher.cc » ('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
new file mode 100644
index 0000000000000000000000000000000000000000..f1efb3621f94cdae96164ab27ec08ddd6839ecbb
--- /dev/null
+++ b/chrome/common/prerender_types.h
@@ -0,0 +1,19 @@
+// Copyright (c) 2014 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. Must be the same as blink::WebPrerenderRelType.
+enum PrerenderRelType {
+ PrerenderRelTypePrerender = 0x1,
+ PrerenderRelTypeNext = 0x2,
+};
+
+} // namespace prerender
+
+#endif // CHROME_COMMON_PRERENDER_TYPES_H_
« no previous file with comments | « chrome/common/prerender_messages.h ('k') | chrome/renderer/prerender/prerender_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698