| 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/sync/api_impl/attachments/attachment_service_impl.h" | 5 #include "components/sync/model_impl/attachments/attachment_service_impl.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 #include <map> | 8 #include <map> |
| 9 #include <utility> | 9 #include <utility> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/bind.h" | 12 #include "base/bind.h" |
| 13 #include "base/location.h" | 13 #include "base/location.h" |
| 14 #include "base/memory/ptr_util.h" | 14 #include "base/memory/ptr_util.h" |
| 15 #include "base/message_loop/message_loop.h" | 15 #include "base/message_loop/message_loop.h" |
| (...skipping 611 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 627 net::NetworkChangeNotifier::NotifyObserversOfNetworkChangeForTests( | 627 net::NetworkChangeNotifier::NotifyObserversOfNetworkChangeForTests( |
| 628 net::NetworkChangeNotifier::CONNECTION_WIFI); | 628 net::NetworkChangeNotifier::CONNECTION_WIFI); |
| 629 RunLoop(); | 629 RunLoop(); |
| 630 | 630 |
| 631 // No longer in backoff. | 631 // No longer in backoff. |
| 632 ASSERT_TRUE(mock_timer()->IsRunning()); | 632 ASSERT_TRUE(mock_timer()->IsRunning()); |
| 633 ASSERT_EQ(base::TimeDelta(), mock_timer()->GetCurrentDelay()); | 633 ASSERT_EQ(base::TimeDelta(), mock_timer()->GetCurrentDelay()); |
| 634 } | 634 } |
| 635 | 635 |
| 636 } // namespace syncer | 636 } // namespace syncer |
| OLD | NEW |