ozone: evdev: Sync caps lock LED state to evdev
[chromium-blink-merge.git] / components / autofill / core / browser / autofill_regexes.h
blobf4b57759e03ef2fb8240038db8d56b24e834b53f
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
3 // found in the LICENSE file.
5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_REGEXES_H_
6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_REGEXES_H_
8 #include "base/strings/string16.h"
10 // Parsing utilities.
11 namespace autofill {
13 // Case-insensitive regular expression matching.
14 // Returns true if |pattern| is found in |input|.
15 bool MatchesPattern(const base::string16& input,
16 const base::string16& pattern);
18 } // namespace autofill
20 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_REGEXES_H_