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

Unified Diff: content/public/browser/resource_request_info.h

Issue 141163002: Make PrerenderTracker's resource_throttle_io_thread_map_ use RenderFrame IDs instead of RenderView … (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: simplify code Created 6 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: content/public/browser/resource_request_info.h
===================================================================
--- content/public/browser/resource_request_info.h (revision 245386)
+++ content/public/browser/resource_request_info.h (working copy)
@@ -9,6 +9,7 @@
#include "content/common/content_export.h"
#include "content/public/common/page_transition_types.h"
#include "third_party/WebKit/public/platform/WebReferrerPolicy.h"
+#include "third_party/WebKit/public/web/WebPageVisibilityState.h"
#include "webkit/common/resource_type.h"
namespace net {
@@ -89,6 +90,9 @@
// Returns the associated referrer policy.
virtual blink::WebReferrerPolicy GetReferrerPolicy() const = 0;
+ // Returns the associated visibility state.
davidben 2014/01/20 20:51:57 Nit: Maybe make the comment clear that this is the
jam 2014/01/21 00:30:08 Done.
+ virtual blink::WebPageVisibilityState GetVisibilityState() const = 0;
+
// Returns the associated page transition type.
virtual PageTransition GetPageTransition() const = 0;

Powered by Google App Engine
This is Rietveld 408576698