| 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 COMPONENTS_UPDATE_CLIENT_UPDATE_ENGINE_H_ | 5 #ifndef COMPONENTS_UPDATE_CLIENT_UPDATE_ENGINE_H_ |
| 6 #define COMPONENTS_UPDATE_CLIENT_UPDATE_ENGINE_H_ | 6 #define COMPONENTS_UPDATE_CLIENT_UPDATE_ENGINE_H_ |
| 7 | 7 |
| 8 #include <iterator> | 8 #include <iterator> |
| 9 #include <list> | 9 #include <list> |
| 10 #include <map> | 10 #include <map> |
| 11 #include <memory> | 11 #include <memory> |
| 12 #include <queue> | 12 #include <queue> |
| 13 #include <set> | 13 #include <set> |
| 14 #include <string> | 14 #include <string> |
| 15 #include <vector> | 15 #include <vector> |
| 16 | 16 |
| 17 #include "base/callback.h" | 17 #include "base/callback.h" |
| 18 #include "base/macros.h" | 18 #include "base/macros.h" |
| 19 #include "base/memory/ref_counted.h" | 19 #include "base/memory/ref_counted.h" |
| 20 #include "base/threading/thread_checker.h" | 20 #include "base/threading/thread_checker.h" |
| 21 #include "base/time/time.h" | 21 #include "base/time/time.h" |
| 22 #include "components/update_client/component.h" | 22 #include "components/update_client/component.h" |
| 23 #include "components/update_client/component_patcher_operation.h" | |
| 24 #include "components/update_client/crx_downloader.h" | 23 #include "components/update_client/crx_downloader.h" |
| 25 #include "components/update_client/crx_update_item.h" | 24 #include "components/update_client/crx_update_item.h" |
| 26 #include "components/update_client/ping_manager.h" | 25 #include "components/update_client/ping_manager.h" |
| 27 #include "components/update_client/update_checker.h" | 26 #include "components/update_client/update_checker.h" |
| 28 #include "components/update_client/update_client.h" | 27 #include "components/update_client/update_client.h" |
| 29 | 28 |
| 30 namespace base { | 29 namespace base { |
| 31 class TimeTicks; | 30 class TimeTicks; |
| 32 class SequencedTaskRunner; | 31 class SequencedTaskRunner; |
| 33 } // namespace base | 32 } // namespace base |
| (...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 179 // is handling the next component in the queue. | 178 // is handling the next component in the queue. |
| 180 base::TimeDelta next_update_delay; | 179 base::TimeDelta next_update_delay; |
| 181 | 180 |
| 182 private: | 181 private: |
| 183 DISALLOW_COPY_AND_ASSIGN(UpdateContext); | 182 DISALLOW_COPY_AND_ASSIGN(UpdateContext); |
| 184 }; | 183 }; |
| 185 | 184 |
| 186 } // namespace update_client | 185 } // namespace update_client |
| 187 | 186 |
| 188 #endif // COMPONENTS_UPDATE_CLIENT_UPDATE_ENGINE_H_ | 187 #endif // COMPONENTS_UPDATE_CLIENT_UPDATE_ENGINE_H_ |
| OLD | NEW |