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 "chrome/browser/chromeos/drive/resource_metadata.h" | 5 #include "chrome/browser/chromeos/drive/resource_metadata.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <string> | 8 #include <string> |
9 #include <utility> | 9 #include <utility> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/message_loop.h" | 12 #include "base/message_loop.h" |
| 13 #include "base/sequenced_task_runner.h" |
13 #include "base/strings/string_number_conversions.h" | 14 #include "base/strings/string_number_conversions.h" |
14 #include "base/task/sequenced_task_runner.h" | |
15 #include "base/threading/sequenced_worker_pool.h" | 15 #include "base/threading/sequenced_worker_pool.h" |
16 #include "chrome/browser/chromeos/drive/drive.pb.h" | 16 #include "chrome/browser/chromeos/drive/drive.pb.h" |
17 #include "chrome/browser/chromeos/drive/file_cache.h" | 17 #include "chrome/browser/chromeos/drive/file_cache.h" |
18 #include "chrome/browser/chromeos/drive/file_system_util.h" | 18 #include "chrome/browser/chromeos/drive/file_system_util.h" |
19 #include "chrome/browser/chromeos/drive/resource_metadata_storage.h" | 19 #include "chrome/browser/chromeos/drive/resource_metadata_storage.h" |
20 #include "chrome/browser/chromeos/drive/test_util.h" | 20 #include "chrome/browser/chromeos/drive/test_util.h" |
21 #include "chrome/browser/google_apis/test_util.h" | 21 #include "chrome/browser/google_apis/test_util.h" |
22 #include "chrome/browser/google_apis/time_util.h" | 22 #include "chrome/browser/google_apis/time_util.h" |
23 #include "chrome/test/base/testing_profile.h" | 23 #include "chrome/test/base/testing_profile.h" |
24 #include "content/public/test/test_browser_thread.h" | 24 #include "content/public/test/test_browser_thread.h" |
(...skipping 1171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1196 base::Bind(google_apis::test_util::CreateCopyResultCallback(&completed), | 1196 base::Bind(google_apis::test_util::CreateCopyResultCallback(&completed), |
1197 true)); | 1197 true)); |
1198 google_apis::test_util::RunBlockingPoolTask(); | 1198 google_apis::test_util::RunBlockingPoolTask(); |
1199 | 1199 |
1200 EXPECT_EQ(7, count); | 1200 EXPECT_EQ(7, count); |
1201 EXPECT_TRUE(completed); | 1201 EXPECT_TRUE(completed); |
1202 } | 1202 } |
1203 | 1203 |
1204 } // namespace internal | 1204 } // namespace internal |
1205 } // namespace drive | 1205 } // namespace drive |
OLD | NEW |