| Index: chrome/browser/net/predictor_tab_helper.h
|
| diff --git a/chrome/browser/net/predictor_tab_helper.h b/chrome/browser/net/predictor_tab_helper.h
|
| index 643dbc9de9055f15f51bc4439a8dcd60b753c7da..2573d6d881ea62b10535bea0938a00f0180f4117 100644
|
| --- a/chrome/browser/net/predictor_tab_helper.h
|
| +++ b/chrome/browser/net/predictor_tab_helper.h
|
| @@ -6,9 +6,11 @@
|
| #define CHROME_BROWSER_NET_PREDICTOR_TAB_HELPER_H_
|
|
|
| #include "base/macros.h"
|
| +#include "base/memory/weak_ptr.h"
|
| #include "content/public/browser/notification_observer.h"
|
| #include "content/public/browser/notification_registrar.h"
|
| #include "content/public/browser/reload_type.h"
|
| +#include "content/public/browser/service_worker_context.h"
|
| #include "content/public/browser/web_contents_observer.h"
|
| #include "content/public/browser/web_contents_user_data.h"
|
|
|
| @@ -36,6 +38,10 @@ class PredictorTabHelper
|
| explicit PredictorTabHelper(content::WebContents* web_contents);
|
| friend class content::WebContentsUserData<PredictorTabHelper>;
|
|
|
| + void HandleNavigation(const GURL& url);
|
| + void DidStartServiceWorkerForNavigationPreconnect(
|
| + const GURL& url,
|
| + content::StartServiceWorkerForNavigationHintResult result);
|
| void PreconnectUrl(const GURL& url);
|
|
|
| // This boolean is set to true after a call to
|
| @@ -47,6 +53,8 @@ class PredictorTabHelper
|
| // especially on Android.
|
| bool predicted_from_pending_entry_;
|
|
|
| + base::WeakPtrFactory<PredictorTabHelper> weak_factory_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(PredictorTabHelper);
|
| };
|
|
|
|
|