1 // Copyright 2023 The Chromium Authors 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef PARTITION_ALLOC_PARTITION_ALLOC_BASE_STRINGS_STRING_UTIL_H_ 6 #define PARTITION_ALLOC_PARTITION_ALLOC_BASE_STRINGS_STRING_UTIL_H_ 7 8 #include "partition_alloc/partition_alloc_base/component_export.h" 9 10 namespace partition_alloc::internal::base::strings { 11 12 PA_COMPONENT_EXPORT(PARTITION_ALLOC_BASE) 13 const char* FindLastOf(const char* text, const char* characters); 14 PA_COMPONENT_EXPORT(PARTITION_ALLOC_BASE) 15 const char* FindLastNotOf(const char* text, const char* characters); 16 17 } // namespace partition_alloc::internal::base::strings 18 19 #endif // PARTITION_ALLOC_PARTITION_ALLOC_BASE_STRINGS_STRING_UTIL_H_ 20