OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_ANDROID_OFFLINE_PAGES_PRERENDERING_LOADER_H_ | 5 #ifndef CHROME_BROWSER_ANDROID_OFFLINE_PAGES_PRERENDERING_LOADER_H_ |
6 #define CHROME_BROWSER_ANDROID_OFFLINE_PAGES_PRERENDERING_LOADER_H_ | 6 #define CHROME_BROWSER_ANDROID_OFFLINE_PAGES_PRERENDERING_LOADER_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
11 #include "chrome/browser/android/offline_pages/prerender_adapter.h" | 11 #include "chrome/browser/android/offline_pages/prerender_adapter.h" |
12 #include "components/offline_pages/background/offliner.h" | 12 #include "components/offline_pages/core/background/offliner.h" |
13 #include "components/offline_pages/snapshot_controller.h" | 13 #include "components/offline_pages/core/snapshot_controller.h" |
14 | 14 |
15 class GURL; | 15 class GURL; |
16 | 16 |
17 namespace content { | 17 namespace content { |
18 class BrowserContext; | 18 class BrowserContext; |
19 class WebContents; | 19 class WebContents; |
20 } // namespace content | 20 } // namespace content |
21 | 21 |
22 namespace offline_pages { | 22 namespace offline_pages { |
23 | 23 |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 // Callback to call when the active load request completes, fails, or is | 119 // Callback to call when the active load request completes, fails, or is |
120 // canceled. | 120 // canceled. |
121 LoadPageCallback callback_; | 121 LoadPageCallback callback_; |
122 | 122 |
123 DISALLOW_COPY_AND_ASSIGN(PrerenderingLoader); | 123 DISALLOW_COPY_AND_ASSIGN(PrerenderingLoader); |
124 }; | 124 }; |
125 | 125 |
126 } // namespace offline_pages | 126 } // namespace offline_pages |
127 | 127 |
128 #endif // CHROME_BROWSER_ANDROID_OFFLINE_PAGES_PRERENDERING_LOADER_H_ | 128 #endif // CHROME_BROWSER_ANDROID_OFFLINE_PAGES_PRERENDERING_LOADER_H_ |
OLD | NEW |