Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(170)

Side by Side Diff: extensions/common/matcher/url_matcher_helpers.h

Issue 12092096: Move c/c/extensions/matcher/ to top level extension dir (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: TOT Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // Helper functions used for URLMatcher and Declarative APIs. 5 // Helper functions used for URLMatcher and Declarative APIs.
6 6
7 #ifndef CHROME_COMMON_EXTENSIONS_MATCHER_URL_MATCHER_HELPERS_H_ 7 #ifndef EXTENSIONS_COMMON_MATCHER_URL_MATCHER_HELPERS_H_
8 #define CHROME_COMMON_EXTENSIONS_MATCHER_URL_MATCHER_HELPERS_H_ 8 #define EXTENSIONS_COMMON_MATCHER_URL_MATCHER_HELPERS_H_
9 9
10 #include <string> 10 #include <string>
11 #include <vector> 11 #include <vector>
12 12
13 namespace base { 13 namespace base {
14 class Value; 14 class Value;
15 } 15 }
16 16
17 namespace extensions { 17 namespace extensions {
18 namespace url_matcher_helpers { 18 namespace url_matcher_helpers {
19 19
20 // Converts a ValueList |value| of strings into a vector. Returns true if 20 // Converts a ValueList |value| of strings into a vector. Returns true if
21 // successful. 21 // successful.
22 bool GetAsStringVector(const base::Value* value, std::vector<std::string>* out); 22 bool GetAsStringVector(const base::Value* value, std::vector<std::string>* out);
23 23
24 } // namespace declarative_helpers 24 } // namespace declarative_helpers
25 } // namespace extensions 25 } // namespace extensions
26 26
27 #endif // CHROME_COMMON_EXTENSIONS_MATCHER_URL_MATCHER_HELPERS_H_ 27 #endif // EXTENSIONS_COMMON_MATCHER_URL_MATCHER_HELPERS_H_
OLDNEW
« no previous file with comments | « extensions/common/matcher/url_matcher_factory_unittest.cc ('k') | extensions/common/matcher/url_matcher_helpers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698