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_SEARCH_METADATA_H_ | 5 #ifndef COMPONENTS_DRIVE_SEARCH_METADATA_H_ |
6 #define COMPONENTS_DRIVE_SEARCH_METADATA_H_ | 6 #define COMPONENTS_DRIVE_SEARCH_METADATA_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include <string> | 10 #include <string> |
9 | 11 |
10 #include "base/memory/scoped_vector.h" | 12 #include "base/memory/scoped_vector.h" |
11 #include "components/drive/file_system_interface.h" | 13 #include "components/drive/file_system_interface.h" |
12 | 14 |
13 namespace base { | 15 namespace base { |
14 namespace i18n { | 16 namespace i18n { |
15 class FixedPatternStringSearchIgnoringCaseAndAccents; | 17 class FixedPatternStringSearchIgnoringCaseAndAccents; |
16 } // namespace i18n | 18 } // namespace i18n |
17 } // namespace base | 19 } // namespace base |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 bool FindAndHighlight( | 62 bool FindAndHighlight( |
61 const std::string& text, | 63 const std::string& text, |
62 const ScopedVector< | 64 const ScopedVector< |
63 base::i18n::FixedPatternStringSearchIgnoringCaseAndAccents>& queries, | 65 base::i18n::FixedPatternStringSearchIgnoringCaseAndAccents>& queries, |
64 std::string* highlighted_text); | 66 std::string* highlighted_text); |
65 | 67 |
66 } // namespace internal | 68 } // namespace internal |
67 } // namespace drive | 69 } // namespace drive |
68 | 70 |
69 #endif // COMPONENTS_DRIVE_SEARCH_METADATA_H_ | 71 #endif // COMPONENTS_DRIVE_SEARCH_METADATA_H_ |
OLD | NEW |