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 <stdint.h> | 5 #include <stdint.h> |
6 #include <utility> | 6 #include <utility> |
7 | 7 |
8 #include "base/json/json_reader.h" | 8 #include "base/json/json_reader.h" |
9 #include "base/macros.h" | 9 #include "base/macros.h" |
10 #include "base/run_loop.h" | 10 #include "base/run_loop.h" |
| 11 #include "base/threading/sequenced_worker_pool.h" |
11 #include "base/threading/thread_task_runner_handle.h" | 12 #include "base/threading/thread_task_runner_handle.h" |
12 #include "base/values.h" | 13 #include "base/values.h" |
13 #include "chrome/browser/apps/app_browsertest_util.h" | 14 #include "chrome/browser/apps/app_browsertest_util.h" |
14 #include "chrome/browser/extensions/extension_service.h" | 15 #include "chrome/browser/extensions/extension_service.h" |
15 #include "chrome/browser/signin/fake_signin_manager_builder.h" | 16 #include "chrome/browser/signin/fake_signin_manager_builder.h" |
16 #include "chrome/browser/sync_file_system/drive_backend/sync_engine.h" | 17 #include "chrome/browser/sync_file_system/drive_backend/sync_engine.h" |
17 #include "chrome/browser/sync_file_system/local/local_file_sync_service.h" | 18 #include "chrome/browser/sync_file_system/local/local_file_sync_service.h" |
18 #include "chrome/browser/sync_file_system/sync_file_system_service.h" | 19 #include "chrome/browser/sync_file_system/sync_file_system_service.h" |
19 #include "chrome/browser/sync_file_system/sync_file_system_service_factory.h" | 20 #include "chrome/browser/sync_file_system/sync_file_system_service_factory.h" |
20 #include "components/drive/service/fake_drive_service.h" | 21 #include "components/drive/service/fake_drive_service.h" |
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
190 | 191 |
191 sync_engine()->GoogleSigninSucceeded("test_account", "tester", "testing"); | 192 sync_engine()->GoogleSigninSucceeded("test_account", "tester", "testing"); |
192 WaitUntilIdle(); | 193 WaitUntilIdle(); |
193 | 194 |
194 bar_created.Reply("resume"); | 195 bar_created.Reply("resume"); |
195 | 196 |
196 EXPECT_TRUE(catcher.GetNextResult()); | 197 EXPECT_TRUE(catcher.GetNextResult()); |
197 } | 198 } |
198 | 199 |
199 } // namespace sync_file_system | 200 } // namespace sync_file_system |
OLD | NEW |