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/chromeos/drive/sync/entry_update_performer.h" | 5 #include "chrome/browser/chromeos/drive/sync/entry_update_performer.h" |
6 | 6 |
7 #include "base/callback_helpers.h" | 7 #include "base/callback_helpers.h" |
8 #include "base/file_util.h" | 8 #include "base/file_util.h" |
9 #include "base/md5.h" | 9 #include "base/md5.h" |
10 #include "base/task_runner_util.h" | 10 #include "base/task_runner_util.h" |
11 #include "chrome/browser/chromeos/drive/file_cache.h" | 11 #include "chrome/browser/chromeos/drive/file_cache.h" |
12 #include "chrome/browser/chromeos/drive/file_system/operation_test_base.h" | 12 #include "chrome/browser/chromeos/drive/file_system/operation_test_base.h" |
13 #include "chrome/browser/chromeos/drive/file_system_interface.h" | 13 #include "chrome/browser/chromeos/drive/job_scheduler.h" |
14 #include "chrome/browser/chromeos/drive/resource_metadata.h" | 14 #include "chrome/browser/chromeos/drive/resource_metadata.h" |
15 #include "chrome/browser/drive/drive_api_util.h" | 15 #include "chrome/browser/drive/drive_api_util.h" |
16 #include "chrome/browser/drive/fake_drive_service.h" | 16 #include "chrome/browser/drive/fake_drive_service.h" |
17 #include "google_apis/drive/drive_api_parser.h" | 17 #include "google_apis/drive/drive_api_parser.h" |
18 #include "google_apis/drive/gdata_wapi_parser.h" | 18 #include "google_apis/drive/gdata_wapi_parser.h" |
19 #include "google_apis/drive/test_util.h" | 19 #include "google_apis/drive/test_util.h" |
20 #include "testing/gtest/include/gtest/gtest.h" | 20 #include "testing/gtest/include/gtest/gtest.h" |
21 | 21 |
22 namespace drive { | 22 namespace drive { |
23 namespace internal { | 23 namespace internal { |
(...skipping 453 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
477 google_apis::test_util::CreateCopyResultCallback(&status, | 477 google_apis::test_util::CreateCopyResultCallback(&status, |
478 &resource_entry)); | 478 &resource_entry)); |
479 test_util::RunBlockingPoolTask(); | 479 test_util::RunBlockingPoolTask(); |
480 EXPECT_EQ(google_apis::HTTP_SUCCESS, status); | 480 EXPECT_EQ(google_apis::HTTP_SUCCESS, status); |
481 ASSERT_TRUE(resource_entry); | 481 ASSERT_TRUE(resource_entry); |
482 EXPECT_TRUE(resource_entry->is_folder()); | 482 EXPECT_TRUE(resource_entry->is_folder()); |
483 } | 483 } |
484 | 484 |
485 } // namespace internal | 485 } // namespace internal |
486 } // namespace drive | 486 } // namespace drive |
OLD | NEW |