OLD | NEW |
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 // Definition of helper functions for the Chrome Extensions Proxy Settings API. | 5 // Definition of helper functions for the Chrome Extensions Proxy Settings API. |
6 | 6 |
7 #ifndef CHROME_BROWSER_EXTENSIONS_API_PROXY_PROXY_API_HELPERS_H_ | 7 #ifndef CHROME_BROWSER_EXTENSIONS_API_PROXY_PROXY_API_HELPERS_H_ |
8 #define CHROME_BROWSER_EXTENSIONS_API_PROXY_PROXY_API_HELPERS_H_ | 8 #define CHROME_BROWSER_EXTENSIONS_API_PROXY_PROXY_API_HELPERS_H_ |
9 #pragma once | |
10 | 9 |
11 #include <string> | 10 #include <string> |
12 | 11 |
13 #include "chrome/browser/prefs/proxy_prefs.h" | 12 #include "chrome/browser/prefs/proxy_prefs.h" |
14 #include "net/proxy/proxy_config.h" | 13 #include "net/proxy/proxy_config.h" |
15 | 14 |
16 class ProxyConfigDictionary; | 15 class ProxyConfigDictionary; |
17 | 16 |
18 namespace base { | 17 namespace base { |
19 class DictionaryValue; | 18 class DictionaryValue; |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 | 128 |
130 // Tokenizes the |in| at delimiters |delims| and returns a new ListValue with | 129 // Tokenizes the |in| at delimiters |delims| and returns a new ListValue with |
131 // StringValues created from the tokens. Ownership is passed to the caller. | 130 // StringValues created from the tokens. Ownership is passed to the caller. |
132 base::ListValue* TokenizeToStringList(const std::string& in, | 131 base::ListValue* TokenizeToStringList(const std::string& in, |
133 const std::string& delims); | 132 const std::string& delims); |
134 | 133 |
135 } // namespace proxy_api_helpers | 134 } // namespace proxy_api_helpers |
136 } // namespace extensions | 135 } // namespace extensions |
137 | 136 |
138 #endif // CHROME_BROWSER_EXTENSIONS_API_PROXY_PROXY_API_HELPERS_H_ | 137 #endif // CHROME_BROWSER_EXTENSIONS_API_PROXY_PROXY_API_HELPERS_H_ |
OLD | NEW |