| OLD | NEW |
| (Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 // Helper functions used for the WebRequest API. |
| 6 |
| 7 #ifndef CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_WEBREQUEST_WEBREQUEST_HELPERS_
H_ |
| 8 #define CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_WEBREQUEST_WEBREQUEST_HELPERS_
H_ |
| 9 #pragma once |
| 10 |
| 11 #include <string> |
| 12 #include <vector> |
| 13 |
| 14 namespace base { |
| 15 class Value; |
| 16 } |
| 17 |
| 18 namespace extensions { |
| 19 namespace declarative_webrequest_helpers { |
| 20 |
| 21 // Converts a ValueList |value| of strings into a vector. Returns true if |
| 22 // successful. |
| 23 bool GetAsStringVector(const base::Value* value, std::vector<std::string>* out); |
| 24 |
| 25 } // namespace declarative_webrequest_helpers |
| 26 } // namespace extensions |
| 27 |
| 28 #endif // CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_WEBREQUEST_WEBREQUEST_HELPE
RS_H_ |
| OLD | NEW |