| 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_LINK_MANAGER_H_ | 5 #ifndef CHROME_BROWSER_PRERENDER_PRERENDER_LINK_MANAGER_H_ |
| 6 #define CHROME_BROWSER_PRERENDER_PRERENDER_LINK_MANAGER_H_ | 6 #define CHROME_BROWSER_PRERENDER_PRERENDER_LINK_MANAGER_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| 11 #include <list> | 11 #include <list> |
| 12 | 12 |
| 13 #include "base/gtest_prod_util.h" | 13 #include "base/gtest_prod_util.h" |
| 14 #include "base/macros.h" | 14 #include "base/macros.h" |
| 15 #include "base/time/time.h" | 15 #include "base/time/time.h" |
| 16 #include "chrome/browser/prerender/prerender_handle.h" | 16 #include "chrome/browser/prerender/prerender_handle.h" |
| 17 #include "components/keyed_service/core/keyed_service.h" | 17 #include "components/keyed_service/core/keyed_service.h" |
| 18 #include "url/gurl.h" | 18 #include "url/gurl.h" |
| 19 | 19 |
| 20 class Profile; | |
| 21 | |
| 22 namespace content { | 20 namespace content { |
| 23 struct Referrer; | 21 struct Referrer; |
| 24 } | 22 } |
| 25 | 23 |
| 26 namespace gfx { | 24 namespace gfx { |
| 27 class Size; | 25 class Size; |
| 28 } | 26 } |
| 29 | 27 |
| 30 FORWARD_DECLARE_TEST(WebViewTest, NoPrerenderer); | 28 FORWARD_DECLARE_TEST(WebViewTest, NoPrerenderer); |
| 31 | 29 |
| (...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 170 // Helper object to manage prerenders which are launched by other prerenders | 168 // Helper object to manage prerenders which are launched by other prerenders |
| 171 // and must be deferred until the launcher is swapped in. | 169 // and must be deferred until the launcher is swapped in. |
| 172 std::unique_ptr<PendingPrerenderManager> pending_prerender_manager_; | 170 std::unique_ptr<PendingPrerenderManager> pending_prerender_manager_; |
| 173 | 171 |
| 174 DISALLOW_COPY_AND_ASSIGN(PrerenderLinkManager); | 172 DISALLOW_COPY_AND_ASSIGN(PrerenderLinkManager); |
| 175 }; | 173 }; |
| 176 | 174 |
| 177 } // namespace prerender | 175 } // namespace prerender |
| 178 | 176 |
| 179 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_LINK_MANAGER_H_ | 177 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_LINK_MANAGER_H_ |
| OLD | NEW |