OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
9 #include "base/run_loop.h" | 9 #include "base/run_loop.h" |
10 #include "base/thread_task_runner_handle.h" | 10 #include "base/threading/thread_task_runner_handle.h" |
11 #include "chrome/browser/extensions/extension_apitest.h" | 11 #include "chrome/browser/extensions/extension_apitest.h" |
12 #include "chrome/browser/sync_file_system/file_status_observer.h" | 12 #include "chrome/browser/sync_file_system/file_status_observer.h" |
13 #include "chrome/browser/sync_file_system/local_change_processor.h" | 13 #include "chrome/browser/sync_file_system/local_change_processor.h" |
14 #include "chrome/browser/sync_file_system/mock_remote_file_sync_service.h" | 14 #include "chrome/browser/sync_file_system/mock_remote_file_sync_service.h" |
15 #include "chrome/browser/sync_file_system/sync_file_system_service.h" | 15 #include "chrome/browser/sync_file_system/sync_file_system_service.h" |
16 #include "chrome/browser/sync_file_system/sync_file_system_service_factory.h" | 16 #include "chrome/browser/sync_file_system/sync_file_system_service_factory.h" |
17 #include "chrome/browser/sync_file_system/sync_status_code.h" | 17 #include "chrome/browser/sync_file_system/sync_status_code.h" |
18 #include "chrome/browser/sync_file_system/syncable_file_system_util.h" | 18 #include "chrome/browser/sync_file_system/syncable_file_system_util.h" |
19 #include "chrome/test/base/test_switches.h" | 19 #include "chrome/test/base/test_switches.h" |
20 #include "storage/browser/fileapi/file_system_url.h" | 20 #include "storage/browser/fileapi/file_system_url.h" |
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
196 ASSERT_TRUE(RunPlatformAppTest("sync_file_system/conflict_resolution_policy")) | 196 ASSERT_TRUE(RunPlatformAppTest("sync_file_system/conflict_resolution_policy")) |
197 << message_; | 197 << message_; |
198 } | 198 } |
199 | 199 |
200 IN_PROC_BROWSER_TEST_F(SyncFileSystemApiTest, GetServiceStatus) { | 200 IN_PROC_BROWSER_TEST_F(SyncFileSystemApiTest, GetServiceStatus) { |
201 mock_remote_service()->SetServiceState( | 201 mock_remote_service()->SetServiceState( |
202 sync_file_system::REMOTE_SERVICE_AUTHENTICATION_REQUIRED); | 202 sync_file_system::REMOTE_SERVICE_AUTHENTICATION_REQUIRED); |
203 ASSERT_TRUE(RunPlatformAppTest("sync_file_system/get_service_status")) | 203 ASSERT_TRUE(RunPlatformAppTest("sync_file_system/get_service_status")) |
204 << message_; | 204 << message_; |
205 } | 205 } |
OLD | NEW |