| 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/file_system/search_operation.h" | 5 #include "chrome/browser/chromeos/drive/file_system/search_operation.h" |
| 6 | 6 |
| 7 #include "chrome/browser/chromeos/drive/file_system/operation_test_base.h" | 7 #include "chrome/browser/chromeos/drive/file_system/operation_test_base.h" |
| 8 #include "chrome/browser/drive/fake_drive_service.h" | 8 #include "chrome/browser/drive/fake_drive_service.h" |
| 9 #include "chrome/browser/google_apis/gdata_wapi_parser.h" | 9 #include "google_apis/drive/gdata_wapi_parser.h" |
| 10 #include "chrome/browser/google_apis/test_util.h" | 10 #include "google_apis/drive/test_util.h" |
| 11 #include "testing/gtest/include/gtest/gtest.h" | 11 #include "testing/gtest/include/gtest/gtest.h" |
| 12 | 12 |
| 13 namespace drive { | 13 namespace drive { |
| 14 namespace file_system { | 14 namespace file_system { |
| 15 | 15 |
| 16 namespace { | 16 namespace { |
| 17 | 17 |
| 18 struct SearchResultPair { | 18 struct SearchResultPair { |
| 19 const char* path; | 19 const char* path; |
| 20 const bool is_directory; | 20 const bool is_directory; |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 &error, &next_link, &results)); | 132 &error, &next_link, &results)); |
| 133 test_util::RunBlockingPoolTask(); | 133 test_util::RunBlockingPoolTask(); |
| 134 | 134 |
| 135 EXPECT_EQ(FILE_ERROR_OK, error); | 135 EXPECT_EQ(FILE_ERROR_OK, error); |
| 136 EXPECT_TRUE(next_link.is_empty()); | 136 EXPECT_TRUE(next_link.is_empty()); |
| 137 EXPECT_EQ(0U, results->size()); | 137 EXPECT_EQ(0U, results->size()); |
| 138 } | 138 } |
| 139 | 139 |
| 140 } // namespace file_system | 140 } // namespace file_system |
| 141 } // namespace drive | 141 } // namespace drive |
| OLD | NEW |