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 "base/json/json_reader.h" | 5 #include "base/json/json_reader.h" |
6 #include "base/run_loop.h" | 6 #include "base/run_loop.h" |
7 #include "base/thread_task_runner_handle.h" | 7 #include "base/thread_task_runner_handle.h" |
8 #include "base/values.h" | 8 #include "base/values.h" |
9 #include "chrome/browser/apps/app_browsertest_util.h" | 9 #include "chrome/browser/apps/app_browsertest_util.h" |
10 #include "chrome/browser/drive/fake_drive_service.h" | |
11 #include "chrome/browser/extensions/extension_service.h" | 10 #include "chrome/browser/extensions/extension_service.h" |
12 #include "chrome/browser/signin/fake_signin_manager.h" | 11 #include "chrome/browser/signin/fake_signin_manager.h" |
13 #include "chrome/browser/sync_file_system/drive_backend/sync_engine.h" | 12 #include "chrome/browser/sync_file_system/drive_backend/sync_engine.h" |
14 #include "chrome/browser/sync_file_system/local/local_file_sync_service.h" | 13 #include "chrome/browser/sync_file_system/local/local_file_sync_service.h" |
15 #include "chrome/browser/sync_file_system/sync_file_system_service.h" | 14 #include "chrome/browser/sync_file_system/sync_file_system_service.h" |
16 #include "chrome/browser/sync_file_system/sync_file_system_service_factory.h" | 15 #include "chrome/browser/sync_file_system/sync_file_system_service_factory.h" |
| 16 #include "components/drive/service/fake_drive_service.h" |
17 #include "extensions/test/extension_test_message_listener.h" | 17 #include "extensions/test/extension_test_message_listener.h" |
18 #include "extensions/test/result_catcher.h" | 18 #include "extensions/test/result_catcher.h" |
19 #include "storage/browser/quota/quota_manager.h" | 19 #include "storage/browser/quota/quota_manager.h" |
20 #include "third_party/leveldatabase/src/helpers/memenv/memenv.h" | 20 #include "third_party/leveldatabase/src/helpers/memenv/memenv.h" |
21 #include "third_party/leveldatabase/src/include/leveldb/env.h" | 21 #include "third_party/leveldatabase/src/include/leveldb/env.h" |
22 | 22 |
23 namespace sync_file_system { | 23 namespace sync_file_system { |
24 | 24 |
25 namespace { | 25 namespace { |
26 | 26 |
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
206 | 206 |
207 sync_engine()->GoogleSigninSucceeded("test_account", "tester", "testing"); | 207 sync_engine()->GoogleSigninSucceeded("test_account", "tester", "testing"); |
208 WaitUntilIdle(); | 208 WaitUntilIdle(); |
209 | 209 |
210 bar_created.Reply("resume"); | 210 bar_created.Reply("resume"); |
211 | 211 |
212 EXPECT_TRUE(catcher.GetNextResult()); | 212 EXPECT_TRUE(catcher.GetNextResult()); |
213 } | 213 } |
214 | 214 |
215 } // namespace sync_file_system | 215 } // namespace sync_file_system |
OLD | NEW |