OLD | NEW |
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 "base/macros.h" |
8 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
9 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
10 #include "base/time/time.h" | 11 #include "base/time/time.h" |
11 #include "chrome/browser/prerender/prerender_histograms.h" | 12 #include "chrome/browser/prerender/prerender_histograms.h" |
12 #include "chrome/browser/prerender/prerender_origin.h" | 13 #include "chrome/browser/prerender/prerender_origin.h" |
13 #include "content/public/browser/web_contents_observer.h" | 14 #include "content/public/browser/web_contents_observer.h" |
14 #include "content/public/browser/web_contents_user_data.h" | 15 #include "content/public/browser/web_contents_user_data.h" |
15 #include "url/gurl.h" | 16 #include "url/gurl.h" |
16 | 17 |
17 namespace autofill { | 18 namespace autofill { |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 GURL url_; | 104 GURL url_; |
104 | 105 |
105 base::WeakPtrFactory<PrerenderTabHelper> weak_factory_; | 106 base::WeakPtrFactory<PrerenderTabHelper> weak_factory_; |
106 | 107 |
107 DISALLOW_COPY_AND_ASSIGN(PrerenderTabHelper); | 108 DISALLOW_COPY_AND_ASSIGN(PrerenderTabHelper); |
108 }; | 109 }; |
109 | 110 |
110 } // namespace prerender | 111 } // namespace prerender |
111 | 112 |
112 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_TAB_HELPER_H_ | 113 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_TAB_HELPER_H_ |
OLD | NEW |