Index: content/browser/renderer_host/duplicate_content_resource_handler.h |
diff --git a/content/browser/renderer_host/duplicate_content_resource_handler.h b/content/browser/renderer_host/duplicate_content_resource_handler.h |
index 8ca80e4b2ceb8d35d598a093c6d70bdc5fea675f..ac30dfc335db0e070a6a135a1beaca8c8aba2f46 100644 |
--- a/content/browser/renderer_host/duplicate_content_resource_handler.h |
+++ b/content/browser/renderer_host/duplicate_content_resource_handler.h |
@@ -56,6 +56,10 @@ class DuplicateContentResourceHandler: public LayeredResourceHandler { |
MH_UINT32 pmurhash_ph1_; |
MH_UINT32 pmurhash_pcarry_; |
+ // Used to track if it's a request we're interested in. If it's not, then we |
+ // early out to avoid calculating the hash unnecessarily. |
+ bool track_request_; |
+ |
DISALLOW_COPY_AND_ASSIGN(DuplicateContentResourceHandler); |
}; |