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 "base/bind.h" | 5 #include "base/bind.h" |
6 #include "base/command_line.h" | 6 #include "base/command_line.h" |
7 #include "base/path_service.h" | |
8 #include "base/run_loop.h" | 7 #include "base/run_loop.h" |
9 #include "chrome/browser/extensions/extension_apitest.h" | 8 #include "chrome/browser/extensions/extension_apitest.h" |
10 #include "chrome/browser/sync_file_system/file_status_observer.h" | 9 #include "chrome/browser/sync_file_system/file_status_observer.h" |
11 #include "chrome/browser/sync_file_system/local_change_processor.h" | 10 #include "chrome/browser/sync_file_system/local_change_processor.h" |
12 #include "chrome/browser/sync_file_system/mock_remote_file_sync_service.h" | 11 #include "chrome/browser/sync_file_system/mock_remote_file_sync_service.h" |
13 #include "chrome/browser/sync_file_system/sync_file_system_service.h" | 12 #include "chrome/browser/sync_file_system/sync_file_system_service.h" |
14 #include "chrome/browser/sync_file_system/sync_file_system_service_factory.h" | 13 #include "chrome/browser/sync_file_system/sync_file_system_service_factory.h" |
15 #include "chrome/browser/sync_file_system/sync_status_code.h" | 14 #include "chrome/browser/sync_file_system/sync_status_code.h" |
16 #include "chrome/browser/sync_file_system/syncable_file_system_util.h" | 15 #include "chrome/browser/sync_file_system/syncable_file_system_util.h" |
17 #include "chrome/common/chrome_version_info.h" | 16 #include "chrome/common/chrome_version_info.h" |
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
193 ASSERT_TRUE(RunPlatformAppTest("sync_file_system/conflict_resolution_policy")) | 192 ASSERT_TRUE(RunPlatformAppTest("sync_file_system/conflict_resolution_policy")) |
194 << message_; | 193 << message_; |
195 } | 194 } |
196 | 195 |
197 IN_PROC_BROWSER_TEST_F(SyncFileSystemApiTest, GetServiceStatus) { | 196 IN_PROC_BROWSER_TEST_F(SyncFileSystemApiTest, GetServiceStatus) { |
198 mock_remote_service()->SetServiceState( | 197 mock_remote_service()->SetServiceState( |
199 sync_file_system::REMOTE_SERVICE_AUTHENTICATION_REQUIRED); | 198 sync_file_system::REMOTE_SERVICE_AUTHENTICATION_REQUIRED); |
200 ASSERT_TRUE(RunPlatformAppTest("sync_file_system/get_service_status")) | 199 ASSERT_TRUE(RunPlatformAppTest("sync_file_system/get_service_status")) |
201 << message_; | 200 << message_; |
202 } | 201 } |
OLD | NEW |