| 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 CHROME_BROWSER_CHROMEOS_DRIVE_SEARCH_METADATA_H_ | 5 #ifndef COMPONENTS_DRIVE_SEARCH_METADATA_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_DRIVE_SEARCH_METADATA_H_ | 6 #define COMPONENTS_DRIVE_SEARCH_METADATA_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "components/drive/file_system_interface.h" | 10 #include "components/drive/file_system_interface.h" |
| 11 | 11 |
| 12 namespace base { | 12 namespace base { |
| 13 namespace i18n { | 13 namespace i18n { |
| 14 class FixedPatternStringSearchIgnoringCaseAndAccents; | 14 class FixedPatternStringSearchIgnoringCaseAndAccents; |
| 15 } // namespace i18n | 15 } // namespace i18n |
| 16 } // namespace base | 16 } // namespace base |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 // is highlighted). Meta characters are escaped like <. The original | 55 // is highlighted). Meta characters are escaped like <. The original |
| 56 // contents of |highlighted_text| will be lost. | 56 // contents of |highlighted_text| will be lost. |
| 57 bool FindAndHighlight( | 57 bool FindAndHighlight( |
| 58 const std::string& text, | 58 const std::string& text, |
| 59 base::i18n::FixedPatternStringSearchIgnoringCaseAndAccents* query, | 59 base::i18n::FixedPatternStringSearchIgnoringCaseAndAccents* query, |
| 60 std::string* highlighted_text); | 60 std::string* highlighted_text); |
| 61 | 61 |
| 62 } // namespace internal | 62 } // namespace internal |
| 63 } // namespace drive | 63 } // namespace drive |
| 64 | 64 |
| 65 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_SEARCH_METADATA_H_ | 65 #endif // COMPONENTS_DRIVE_SEARCH_METADATA_H_ |
| OLD | NEW |