| 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 "google_apis/gcm/gcm_client_impl.h" | 5 #include "components/gcm_driver/gcm_client_impl.h" |
| 6 | 6 |
| 7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 #include "base/files/scoped_temp_dir.h" | 8 #include "base/files/scoped_temp_dir.h" |
| 9 #include "base/message_loop/message_loop.h" | 9 #include "base/message_loop/message_loop.h" |
| 10 #include "base/run_loop.h" | 10 #include "base/run_loop.h" |
| 11 #include "base/strings/string_number_conversions.h" | 11 #include "base/strings/string_number_conversions.h" |
| 12 #include "base/time/clock.h" | 12 #include "base/time/clock.h" |
| 13 #include "google_apis/gcm/base/fake_encryptor.h" | 13 #include "google_apis/gcm/base/fake_encryptor.h" |
| 14 #include "google_apis/gcm/base/mcs_message.h" | 14 #include "google_apis/gcm/base/mcs_message.h" |
| 15 #include "google_apis/gcm/base/mcs_util.h" | 15 #include "google_apis/gcm/base/mcs_util.h" |
| (...skipping 755 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 771 gservices_settings().GetCheckinURL()); | 771 gservices_settings().GetCheckinURL()); |
| 772 EXPECT_EQ(GURL("http://alternative.url/registration"), | 772 EXPECT_EQ(GURL("http://alternative.url/registration"), |
| 773 gservices_settings().GetRegistrationURL()); | 773 gservices_settings().GetRegistrationURL()); |
| 774 EXPECT_EQ(GURL("https://alternative.gcm.host:7777"), | 774 EXPECT_EQ(GURL("https://alternative.gcm.host:7777"), |
| 775 gservices_settings().GetMCSMainEndpoint()); | 775 gservices_settings().GetMCSMainEndpoint()); |
| 776 EXPECT_EQ(GURL("https://alternative.gcm.host:443"), | 776 EXPECT_EQ(GURL("https://alternative.gcm.host:443"), |
| 777 gservices_settings().GetMCSFallbackEndpoint()); | 777 gservices_settings().GetMCSFallbackEndpoint()); |
| 778 } | 778 } |
| 779 | 779 |
| 780 } // namespace gcm | 780 } // namespace gcm |
| OLD | NEW |