Remove BooleanPrefMember usage from Data Reduction Proxy IO classes.
[chromium-blink-merge.git] / components / url_matcher / url_matcher_helpers.h
blob15aa0c5be1a30100d6b5971291ef02843c8a80fc
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 // Helper functions used for URLMatcher and Declarative APIs.
7 #ifndef COMPONENTS_URL_MATCHER_URL_MATCHER_HELPERS_H_
8 #define COMPONENTS_URL_MATCHER_URL_MATCHER_HELPERS_H_
10 #include <string>
11 #include <vector>
13 namespace base {
14 class Value;
17 namespace url_matcher {
18 namespace url_matcher_helpers {
20 // Converts a ValueList |value| of strings into a vector. Returns true if
21 // successful.
22 bool GetAsStringVector(const base::Value* value, std::vector<std::string>* out);
24 } // namespace url_matcher_helpers
25 } // namespace url_matcher
27 #endif // COMPONENTS_URL_MATCHER_URL_MATCHER_HELPERS_H_