| 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 class SessionStorageNamespace; | 20 class SessionStorageNamespace; |
| 21 } // namespace content | 21 } // namespace content |
| 22 | 22 |
| 23 namespace gfx { | 23 namespace gfx { |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 // Callback to call when the active load request completes, fails, or is | 124 // Callback to call when the active load request completes, fails, or is |
| 125 // canceled. | 125 // canceled. |
| 126 LoadPageCallback callback_; | 126 LoadPageCallback callback_; |
| 127 | 127 |
| 128 DISALLOW_COPY_AND_ASSIGN(PrerenderingLoader); | 128 DISALLOW_COPY_AND_ASSIGN(PrerenderingLoader); |
| 129 }; | 129 }; |
| 130 | 130 |
| 131 } // namespace offline_pages | 131 } // namespace offline_pages |
| 132 | 132 |
| 133 #endif // CHROME_BROWSER_ANDROID_OFFLINE_PAGES_PRERENDERING_LOADER_H_ | 133 #endif // CHROME_BROWSER_ANDROID_OFFLINE_PAGES_PRERENDERING_LOADER_H_ |
| OLD | NEW |