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 "components/drive/file_system/search_operation.h" | 5 #include "components/drive/file_system/search_operation.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include <string> | 9 #include <string> |
8 #include <vector> | 10 #include <vector> |
9 | 11 |
10 #include "base/bind.h" | 12 #include "base/bind.h" |
11 #include "base/bind_helpers.h" | 13 #include "base/bind_helpers.h" |
12 #include "base/callback.h" | 14 #include "base/callback.h" |
13 #include "base/task_runner_util.h" | 15 #include "base/task_runner_util.h" |
14 #include "components/drive/change_list_loader.h" | 16 #include "components/drive/change_list_loader.h" |
15 #include "components/drive/drive_api_util.h" | 17 #include "components/drive/drive_api_util.h" |
16 #include "components/drive/file_system_core_util.h" | 18 #include "components/drive/file_system_core_util.h" |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
171 if (error != FILE_ERROR_OK) { | 173 if (error != FILE_ERROR_OK) { |
172 callback.Run(error, GURL(), scoped_ptr<std::vector<SearchResultInfo> >()); | 174 callback.Run(error, GURL(), scoped_ptr<std::vector<SearchResultInfo> >()); |
173 return; | 175 return; |
174 } | 176 } |
175 | 177 |
176 callback.Run(error, next_link, result.Pass()); | 178 callback.Run(error, next_link, result.Pass()); |
177 } | 179 } |
178 | 180 |
179 } // namespace file_system | 181 } // namespace file_system |
180 } // namespace drive | 182 } // namespace drive |
OLD | NEW |