| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 #ifndef COMPONENTS_DRIVE_CHROMEOS_SEARCH_METADATA_H_ | 5 #ifndef COMPONENTS_DRIVE_CHROMEOS_SEARCH_METADATA_H_ |
| 6 #define COMPONENTS_DRIVE_CHROMEOS_SEARCH_METADATA_H_ | 6 #define COMPONENTS_DRIVE_CHROMEOS_SEARCH_METADATA_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| 11 #include <string> | 11 #include <string> |
| 12 #include <vector> | 12 #include <vector> |
| 13 | 13 |
| 14 #include "base/sequenced_task_runner.h" |
| 14 #include "components/drive/chromeos/file_system_interface.h" | 15 #include "components/drive/chromeos/file_system_interface.h" |
| 15 | 16 |
| 16 namespace base { | 17 namespace base { |
| 17 namespace i18n { | 18 namespace i18n { |
| 18 class FixedPatternStringSearchIgnoringCaseAndAccents; | 19 class FixedPatternStringSearchIgnoringCaseAndAccents; |
| 19 } // namespace i18n | 20 } // namespace i18n |
| 20 } // namespace base | 21 } // namespace base |
| 21 | 22 |
| 22 namespace drive { | 23 namespace drive { |
| 23 namespace internal { | 24 namespace internal { |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 bool FindAndHighlight( | 64 bool FindAndHighlight( |
| 64 const std::string& text, | 65 const std::string& text, |
| 65 const std::vector<std::unique_ptr< | 66 const std::vector<std::unique_ptr< |
| 66 base::i18n::FixedPatternStringSearchIgnoringCaseAndAccents>>& queries, | 67 base::i18n::FixedPatternStringSearchIgnoringCaseAndAccents>>& queries, |
| 67 std::string* highlighted_text); | 68 std::string* highlighted_text); |
| 68 | 69 |
| 69 } // namespace internal | 70 } // namespace internal |
| 70 } // namespace drive | 71 } // namespace drive |
| 71 | 72 |
| 72 #endif // COMPONENTS_DRIVE_CHROMEOS_SEARCH_METADATA_H_ | 73 #endif // COMPONENTS_DRIVE_CHROMEOS_SEARCH_METADATA_H_ |
| OLD | NEW |