Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(622)

Side by Side Diff: sync/internal_api/attachments/attachment_service_impl_unittest.cc

Issue 1969833002: Fix include path for moved thread_task_runner_handle.h header in sync/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 "sync/internal_api/public/attachments/attachment_service_impl.h" 5 #include "sync/internal_api/public/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/macros.h" 13 #include "base/macros.h"
14 #include "base/memory/ptr_util.h" 14 #include "base/memory/ptr_util.h"
15 #include "base/memory/weak_ptr.h" 15 #include "base/memory/weak_ptr.h"
16 #include "base/message_loop/message_loop.h" 16 #include "base/message_loop/message_loop.h"
17 #include "base/run_loop.h" 17 #include "base/run_loop.h"
18 #include "base/thread_task_runner_handle.h" 18 #include "base/threading/thread_task_runner_handle.h"
19 #include "base/timer/mock_timer.h" 19 #include "base/timer/mock_timer.h"
20 #include "sync/api/attachments/attachment_store_backend.h" 20 #include "sync/api/attachments/attachment_store_backend.h"
21 #include "sync/internal_api/public/attachments/attachment_util.h" 21 #include "sync/internal_api/public/attachments/attachment_util.h"
22 #include "sync/internal_api/public/attachments/fake_attachment_downloader.h" 22 #include "sync/internal_api/public/attachments/fake_attachment_downloader.h"
23 #include "sync/internal_api/public/attachments/fake_attachment_uploader.h" 23 #include "sync/internal_api/public/attachments/fake_attachment_uploader.h"
24 #include "testing/gmock/include/gmock/gmock-matchers.h" 24 #include "testing/gmock/include/gmock/gmock-matchers.h"
25 #include "testing/gtest/include/gtest/gtest.h" 25 #include "testing/gtest/include/gtest/gtest.h"
26 26
27 namespace syncer { 27 namespace syncer {
28 28
(...skipping 603 matching lines...) Expand 10 before | Expand all | Expand 10 after
632 net::NetworkChangeNotifier::NotifyObserversOfNetworkChangeForTests( 632 net::NetworkChangeNotifier::NotifyObserversOfNetworkChangeForTests(
633 net::NetworkChangeNotifier::CONNECTION_WIFI); 633 net::NetworkChangeNotifier::CONNECTION_WIFI);
634 RunLoop(); 634 RunLoop();
635 635
636 // No longer in backoff. 636 // No longer in backoff.
637 ASSERT_TRUE(mock_timer()->IsRunning()); 637 ASSERT_TRUE(mock_timer()->IsRunning());
638 ASSERT_EQ(base::TimeDelta(), mock_timer()->GetCurrentDelay()); 638 ASSERT_EQ(base::TimeDelta(), mock_timer()->GetCurrentDelay());
639 } 639 }
640 640
641 } // namespace syncer 641 } // namespace syncer
OLDNEW
« no previous file with comments | « sync/internal_api/attachments/attachment_service_impl.cc ('k') | sync/internal_api/attachments/attachment_service_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698