OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 // A standalone tool for testing MCS connections and the MCS client on their | 5 // A standalone tool for testing MCS connections and the MCS client on their |
6 // own. | 6 // own. |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <cstddef> | 10 #include <cstddef> |
11 #include <cstdio> | 11 #include <cstdio> |
12 #include <memory> | 12 #include <memory> |
13 #include <string> | 13 #include <string> |
14 #include <utility> | 14 #include <utility> |
15 #include <vector> | 15 #include <vector> |
16 | 16 |
17 #include "base/at_exit.h" | 17 #include "base/at_exit.h" |
18 #include "base/command_line.h" | 18 #include "base/command_line.h" |
19 #include "base/compiler_specific.h" | 19 #include "base/compiler_specific.h" |
20 #include "base/files/scoped_file.h" | 20 #include "base/files/scoped_file.h" |
21 #include "base/logging.h" | 21 #include "base/logging.h" |
22 #include "base/memory/ptr_util.h" | 22 #include "base/memory/ptr_util.h" |
23 #include "base/memory/ref_counted.h" | 23 #include "base/memory/ref_counted.h" |
24 #include "base/message_loop/message_loop.h" | 24 #include "base/message_loop/message_loop.h" |
25 #include "base/run_loop.h" | 25 #include "base/run_loop.h" |
26 #include "base/strings/string_number_conversions.h" | 26 #include "base/strings/string_number_conversions.h" |
27 #include "base/thread_task_runner_handle.h" | |
28 #include "base/threading/thread.h" | 27 #include "base/threading/thread.h" |
| 28 #include "base/threading/thread_task_runner_handle.h" |
29 #include "base/threading/worker_pool.h" | 29 #include "base/threading/worker_pool.h" |
30 #include "base/time/default_clock.h" | 30 #include "base/time/default_clock.h" |
31 #include "base/values.h" | 31 #include "base/values.h" |
32 #include "build/build_config.h" | 32 #include "build/build_config.h" |
33 #include "google_apis/gcm/base/fake_encryptor.h" | 33 #include "google_apis/gcm/base/fake_encryptor.h" |
34 #include "google_apis/gcm/base/mcs_message.h" | 34 #include "google_apis/gcm/base/mcs_message.h" |
35 #include "google_apis/gcm/base/mcs_util.h" | 35 #include "google_apis/gcm/base/mcs_util.h" |
36 #include "google_apis/gcm/engine/checkin_request.h" | 36 #include "google_apis/gcm/engine/checkin_request.h" |
37 #include "google_apis/gcm/engine/connection_factory_impl.h" | 37 #include "google_apis/gcm/engine/connection_factory_impl.h" |
38 #include "google_apis/gcm/engine/gcm_store_impl.h" | 38 #include "google_apis/gcm/engine/gcm_store_impl.h" |
(...skipping 474 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
513 | 513 |
514 return 0; | 514 return 0; |
515 } | 515 } |
516 | 516 |
517 } // namespace | 517 } // namespace |
518 } // namespace gcm | 518 } // namespace gcm |
519 | 519 |
520 int main(int argc, char* argv[]) { | 520 int main(int argc, char* argv[]) { |
521 return gcm::MCSProbeMain(argc, argv); | 521 return gcm::MCSProbeMain(argc, argv); |
522 } | 522 } |
OLD | NEW |