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

Side by Side Diff: chrome/browser/prerender/prerender_tab_helper.h

Issue 2496243002: Prerender: remove tiny leftovers from refactoring (Closed)
Patch Set: Created 4 years, 1 month 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_PRERENDER_PRERENDER_TAB_HELPER_H_ 5 #ifndef CHROME_BROWSER_PRERENDER_PRERENDER_TAB_HELPER_H_
6 #define CHROME_BROWSER_PRERENDER_PRERENDER_TAB_HELPER_H_ 6 #define CHROME_BROWSER_PRERENDER_PRERENDER_TAB_HELPER_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "base/memory/weak_ptr.h" 11 #include "base/memory/weak_ptr.h"
12 #include "base/time/time.h" 12 #include "base/time/time.h"
13 #include "chrome/browser/prerender/prerender_histograms.h" 13 #include "chrome/browser/prerender/prerender_histograms.h"
14 #include "chrome/browser/prerender/prerender_origin.h" 14 #include "chrome/browser/prerender/prerender_origin.h"
15 #include "content/public/browser/web_contents_observer.h" 15 #include "content/public/browser/web_contents_observer.h"
16 #include "content/public/browser/web_contents_user_data.h" 16 #include "content/public/browser/web_contents_user_data.h"
17 #include "url/gurl.h" 17 #include "url/gurl.h"
18 18
19 namespace autofill {
20 struct PasswordForm;
21 }
22
23 namespace password_manager {
24 class PasswordManager;
25 }
26
27 namespace prerender { 19 namespace prerender {
28 20
29 class PrerenderManager; 21 class PrerenderManager;
30 22
31 // PrerenderTabHelper is responsible for recording perceived pageload times 23 // PrerenderTabHelper is responsible for recording perceived pageload times
32 // to compare PLT's with prerendering enabled and disabled. 24 // to compare PLT's with prerendering enabled and disabled.
33 class PrerenderTabHelper 25 class PrerenderTabHelper
34 : public content::WebContentsObserver, 26 : public content::WebContentsObserver,
35 public content::WebContentsUserData<PrerenderTabHelper> { 27 public content::WebContentsUserData<PrerenderTabHelper> {
36 public: 28 public:
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 GURL url_; 96 GURL url_;
105 97
106 base::WeakPtrFactory<PrerenderTabHelper> weak_factory_; 98 base::WeakPtrFactory<PrerenderTabHelper> weak_factory_;
107 99
108 DISALLOW_COPY_AND_ASSIGN(PrerenderTabHelper); 100 DISALLOW_COPY_AND_ASSIGN(PrerenderTabHelper);
109 }; 101 };
110 102
111 } // namespace prerender 103 } // namespace prerender
112 104
113 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_TAB_HELPER_H_ 105 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_TAB_HELPER_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698