| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "chrome/browser/sync_file_system/drive_backend_v1/api_util.h" | 5 #include "chrome/browser/sync_file_system/drive_backend_v1/api_util.h" |
| 6 | 6 |
| 7 #include "base/file_util.h" | 7 #include "base/file_util.h" |
| 8 #include "base/location.h" | 8 #include "base/location.h" |
| 9 #include "base/message_loop/message_loop.h" | 9 #include "base/message_loop/message_loop.h" |
| 10 #include "base/message_loop/message_loop_proxy.h" | |
| 11 #include "base/strings/stringprintf.h" | 10 #include "base/strings/stringprintf.h" |
| 12 #include "base/values.h" | 11 #include "base/values.h" |
| 13 #include "chrome/browser/drive/drive_uploader.h" | 12 #include "chrome/browser/drive/drive_uploader.h" |
| 14 #include "chrome/browser/drive/fake_drive_service.h" | 13 #include "chrome/browser/drive/fake_drive_service.h" |
| 15 #include "chrome/browser/sync_file_system/drive_backend/fake_drive_service_helpe
r.h" | 14 #include "chrome/browser/sync_file_system/drive_backend/fake_drive_service_helpe
r.h" |
| 16 #include "chrome/browser/sync_file_system/drive_backend/fake_drive_uploader.h" | 15 #include "chrome/browser/sync_file_system/drive_backend/fake_drive_uploader.h" |
| 17 #include "chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_util.
h" | 16 #include "chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_util.
h" |
| 18 #include "content/public/test/test_browser_thread.h" | 17 #include "content/public/test/test_browser_thread.h" |
| 19 #include "content/public/test/test_browser_thread_bundle.h" | 18 #include "content/public/test/test_browser_thread_bundle.h" |
| 20 #include "google_apis/drive/drive_api_parser.h" | 19 #include "google_apis/drive/drive_api_parser.h" |
| (...skipping 795 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 816 TestCreateDirectory(); | 815 TestCreateDirectory(); |
| 817 } | 816 } |
| 818 | 817 |
| 819 TEST_F(APIUtilTest, CreateDirectory_WAPI) { | 818 TEST_F(APIUtilTest, CreateDirectory_WAPI) { |
| 820 ScopedDisableDriveAPI disable_drive_api; | 819 ScopedDisableDriveAPI disable_drive_api; |
| 821 TestCreateDirectory(); | 820 TestCreateDirectory(); |
| 822 } | 821 } |
| 823 | 822 |
| 824 } // namespace drive_backend | 823 } // namespace drive_backend |
| 825 } // namespace sync_file_system | 824 } // namespace sync_file_system |
| OLD | NEW |