| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_WEBAPPS_ADD_TO_HOMESCREEN_DATA_FETCHER_H_ | 5 #ifndef CHROME_BROWSER_ANDROID_WEBAPPS_ADD_TO_HOMESCREEN_DATA_FETCHER_H_ |
| 6 #define CHROME_BROWSER_ANDROID_WEBAPPS_ADD_TO_HOMESCREEN_DATA_FETCHER_H_ | 6 #define CHROME_BROWSER_ANDROID_WEBAPPS_ADD_TO_HOMESCREEN_DATA_FETCHER_H_ |
| 7 | 7 |
| 8 #include "base/callback_forward.h" | 8 #include "base/callback_forward.h" |
| 9 #include "base/macros.h" | 9 #include "base/macros.h" |
| 10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 base::CancelableTaskTracker favicon_task_tracker_; | 127 base::CancelableTaskTracker favicon_task_tracker_; |
| 128 base::Timer data_timeout_timer_; | 128 base::Timer data_timeout_timer_; |
| 129 | 129 |
| 130 const int ideal_icon_size_in_dp_; | 130 const int ideal_icon_size_in_dp_; |
| 131 const int minimum_icon_size_in_dp_; | 131 const int minimum_icon_size_in_dp_; |
| 132 const int ideal_splash_image_size_in_dp_; | 132 const int ideal_splash_image_size_in_dp_; |
| 133 const int minimum_splash_image_size_in_dp_; | 133 const int minimum_splash_image_size_in_dp_; |
| 134 | 134 |
| 135 // Indicates whether to check WebAPK compatibility. | 135 // Indicates whether to check WebAPK compatibility. |
| 136 bool check_installable_; | 136 bool check_installable_; |
| 137 bool is_waiting_for_installable_check_; | |
| 138 bool is_waiting_for_web_application_info_; | 137 bool is_waiting_for_web_application_info_; |
| 139 bool is_icon_saved_; | 138 bool is_icon_saved_; |
| 140 bool is_ready_; | 139 bool is_ready_; |
| 141 | 140 |
| 142 DISALLOW_COPY_AND_ASSIGN(AddToHomescreenDataFetcher); | 141 DISALLOW_COPY_AND_ASSIGN(AddToHomescreenDataFetcher); |
| 143 }; | 142 }; |
| 144 | 143 |
| 145 #endif // CHROME_BROWSER_ANDROID_WEBAPPS_ADD_TO_HOMESCREEN_DATA_FETCHER_H_ | 144 #endif // CHROME_BROWSER_ANDROID_WEBAPPS_ADD_TO_HOMESCREEN_DATA_FETCHER_H_ |
| OLD | NEW |