| 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 #include "base/macros.h" |
| 5 #include "base/memory/ref_counted.h" | 6 #include "base/memory/ref_counted.h" |
| 6 #include "base/test/test_mock_time_task_runner.h" | 7 #include "base/test/test_mock_time_task_runner.h" |
| 7 #include "base/thread_task_runner_handle.h" | 8 #include "base/thread_task_runner_handle.h" |
| 8 #include "net/base/backoff_entry.h" | 9 #include "net/base/backoff_entry.h" |
| 9 #include "net/url_request/test_url_fetcher_factory.h" | 10 #include "net/url_request/test_url_fetcher_factory.h" |
| 10 #include "net/url_request/url_request_test_util.h" | 11 #include "net/url_request/url_request_test_util.h" |
| 11 #include "testing/gtest/include/gtest/gtest.h" | 12 #include "testing/gtest/include/gtest/gtest.h" |
| 12 | 13 |
| 13 namespace gcm { | 14 namespace gcm { |
| 14 | 15 |
| (...skipping 29 matching lines...) Expand all Loading... |
| 44 | 45 |
| 45 net::TestURLFetcherFactory url_fetcher_factory_; | 46 net::TestURLFetcherFactory url_fetcher_factory_; |
| 46 | 47 |
| 47 // Tracks the number of retries so far. | 48 // Tracks the number of retries so far. |
| 48 int retry_count_; | 49 int retry_count_; |
| 49 | 50 |
| 50 DISALLOW_COPY_AND_ASSIGN(GCMRequestTestBase); | 51 DISALLOW_COPY_AND_ASSIGN(GCMRequestTestBase); |
| 51 }; | 52 }; |
| 52 | 53 |
| 53 } // namespace gcm | 54 } // namespace gcm |
| OLD | NEW |