| 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_BACKGROUND_LOADER_OFFLINER_H_ | 5 #ifndef CHROME_BROWSER_OFFLINE_PAGES_BACKGROUND_LOADER_OFFLINER_H_ |
| 6 #define CHROME_BROWSER_ANDROID_OFFLINE_PAGES_BACKGROUND_LOADER_OFFLINER_H_ | 6 #define CHROME_BROWSER_OFFLINE_PAGES_BACKGROUND_LOADER_OFFLINER_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/android/application_status_listener.h" | 10 #include "base/android/application_status_listener.h" |
| 11 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
| 12 #include "base/values.h" | 12 #include "base/values.h" |
| 13 #include "components/offline_pages/content/background_loader/background_loader_c
ontents.h" | 13 #include "components/offline_pages/content/background_loader/background_loader_c
ontents.h" |
| 14 #include "components/offline_pages/core/background/offliner.h" | 14 #include "components/offline_pages/core/background/offliner.h" |
| 15 #include "components/offline_pages/core/offline_page_types.h" | 15 #include "components/offline_pages/core/offline_page_types.h" |
| 16 #include "components/offline_pages/core/snapshot_controller.h" | 16 #include "components/offline_pages/core/snapshot_controller.h" |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 base::DictionaryValue signal_data_; | 133 base::DictionaryValue signal_data_; |
| 134 | 134 |
| 135 // Callback for cancel. | 135 // Callback for cancel. |
| 136 CancelCallback cancel_callback_; | 136 CancelCallback cancel_callback_; |
| 137 | 137 |
| 138 base::WeakPtrFactory<BackgroundLoaderOffliner> weak_ptr_factory_; | 138 base::WeakPtrFactory<BackgroundLoaderOffliner> weak_ptr_factory_; |
| 139 DISALLOW_COPY_AND_ASSIGN(BackgroundLoaderOffliner); | 139 DISALLOW_COPY_AND_ASSIGN(BackgroundLoaderOffliner); |
| 140 }; | 140 }; |
| 141 | 141 |
| 142 } // namespace offline_pages | 142 } // namespace offline_pages |
| 143 #endif // CHROME_BROWSER_ANDROID_OFFLINE_PAGES_BACKGROUND_LOADER_OFFLINER_H_ | 143 #endif // CHROME_BROWSER_OFFLINE_PAGES_BACKGROUND_LOADER_OFFLINER_H_ |
| OLD | NEW |