| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #include "components/gcm_driver/gcm_driver_desktop.h" | 5 #include "components/gcm_driver/gcm_driver_desktop.h" |
| 6 | 6 |
| 7 #include <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 #include "base/bind.h" | 9 #include "base/bind.h" |
| 10 #include "base/bind_helpers.h" | 10 #include "base/bind_helpers.h" |
| 11 #include "base/files/file_path.h" | 11 #include "base/files/file_path.h" |
| 12 #include "base/location.h" | 12 #include "base/location.h" |
| 13 #include "base/logging.h" | 13 #include "base/logging.h" |
| 14 #include "base/macros.h" |
| 14 #include "base/metrics/histogram_macros.h" | 15 #include "base/metrics/histogram_macros.h" |
| 15 #include "base/profiler/scoped_tracker.h" | 16 #include "base/profiler/scoped_tracker.h" |
| 16 #include "base/sequenced_task_runner.h" | 17 #include "base/sequenced_task_runner.h" |
| 17 #include "base/threading/sequenced_worker_pool.h" | 18 #include "base/threading/sequenced_worker_pool.h" |
| 19 #include "build/build_config.h" |
| 18 #include "components/gcm_driver/gcm_account_mapper.h" | 20 #include "components/gcm_driver/gcm_account_mapper.h" |
| 19 #include "components/gcm_driver/gcm_app_handler.h" | 21 #include "components/gcm_driver/gcm_app_handler.h" |
| 20 #include "components/gcm_driver/gcm_channel_status_syncer.h" | 22 #include "components/gcm_driver/gcm_channel_status_syncer.h" |
| 21 #include "components/gcm_driver/gcm_client_factory.h" | 23 #include "components/gcm_driver/gcm_client_factory.h" |
| 22 #include "components/gcm_driver/gcm_delayed_task_controller.h" | 24 #include "components/gcm_driver/gcm_delayed_task_controller.h" |
| 23 #include "components/gcm_driver/instance_id/instance_id_impl.h" | 25 #include "components/gcm_driver/instance_id/instance_id_impl.h" |
| 24 #include "components/gcm_driver/system_encryptor.h" | 26 #include "components/gcm_driver/system_encryptor.h" |
| 25 #include "google_apis/gcm/engine/account_mapping.h" | 27 #include "google_apis/gcm/engine/account_mapping.h" |
| 26 #include "net/base/ip_endpoint.h" | 28 #include "net/base/ip_endpoint.h" |
| 27 #include "net/url_request/url_request_context_getter.h" | 29 #include "net/url_request/url_request_context_getter.h" |
| (...skipping 1271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1299 | 1301 |
| 1300 if (base::get<1>(a) < base::get<1>(b)) | 1302 if (base::get<1>(a) < base::get<1>(b)) |
| 1301 return true; | 1303 return true; |
| 1302 if (base::get<1>(a) > base::get<1>(b)) | 1304 if (base::get<1>(a) > base::get<1>(b)) |
| 1303 return false; | 1305 return false; |
| 1304 | 1306 |
| 1305 return base::get<2>(a) < base::get<2>(b); | 1307 return base::get<2>(a) < base::get<2>(b); |
| 1306 } | 1308 } |
| 1307 | 1309 |
| 1308 } // namespace gcm | 1310 } // namespace gcm |
| OLD | NEW |