Chromium Code Reviews| Index: chrome/browser/predictors/resource_prefetch_common.h |
| diff --git a/chrome/browser/predictors/resource_prefetch_common.h b/chrome/browser/predictors/resource_prefetch_common.h |
| index afbd9240545ce0846f09f6818db313f583d4ee85..151bdc80529b02641c97248613e4778901c8f4e6 100644 |
| --- a/chrome/browser/predictors/resource_prefetch_common.h |
| +++ b/chrome/browser/predictors/resource_prefetch_common.h |
| @@ -8,6 +8,7 @@ |
| #include <stddef.h> |
| #include "base/time/time.h" |
| +#include "components/sessions/core/session_id.h" |
| #include "url/gurl.h" |
| class Profile; |
| @@ -43,17 +44,15 @@ struct NavigationID { |
| const GURL& main_frame_url, |
| const base::TimeTicks& creation_time); |
| NavigationID(const NavigationID& other); |
| + |
| bool operator<(const NavigationID& rhs) const; |
| bool operator==(const NavigationID& rhs) const; |
| - bool IsSameRenderer(const NavigationID& other) const; |
| - |
| // Returns true iff the render_process_id_, render_frame_id_ and |
| // frame_url_ has been set correctly. |
|
clamy
2016/12/22 15:52:41
This comment needs to be updated since render_proc
ahemery
2016/12/22 17:12:26
Done.
|
| bool is_valid() const; |
| - int render_process_id; |
| - int render_frame_id; |
| + SessionID::id_type tab_id; |
|
clamy
2016/12/22 15:52:41
How do you deal with the two concurrent navigation
Benoit L
2016/12/22 16:04:10
Per offline discussion:
- The NavigationID matches
|
| GURL main_frame_url; |
| // NOTE: Even though we store the creation time here, it is not used during |