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

Side by Side Diff: chrome/browser/extensions/api/proxy/proxy_api_helpers.h

Issue 1221033002: Add proxy_config component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update copyrights Created 5 years, 5 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 // 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 9
10 #include <string> 10 #include <string>
11 11
12 #include "chrome/browser/prefs/proxy_prefs.h" 12 #include "components/proxy_config/proxy_prefs.h"
13 #include "net/proxy/proxy_config.h" 13 #include "net/proxy/proxy_config.h"
14 14
15 class ProxyConfigDictionary; 15 class ProxyConfigDictionary;
16 16
17 namespace base { 17 namespace base {
18 class DictionaryValue; 18 class DictionaryValue;
19 class ListValue; 19 class ListValue;
20 } 20 }
21 21
22 namespace extensions { 22 namespace extensions {
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 128
129 // 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
130 // StringValues created from the tokens. Ownership is passed to the caller. 130 // StringValues created from the tokens. Ownership is passed to the caller.
131 base::ListValue* TokenizeToStringList(const std::string& in, 131 base::ListValue* TokenizeToStringList(const std::string& in,
132 const std::string& delims); 132 const std::string& delims);
133 133
134 } // namespace proxy_api_helpers 134 } // namespace proxy_api_helpers
135 } // namespace extensions 135 } // namespace extensions
136 136
137 #endif // CHROME_BROWSER_EXTENSIONS_API_PROXY_PROXY_API_HELPERS_H_ 137 #endif // CHROME_BROWSER_EXTENSIONS_API_PROXY_PROXY_API_HELPERS_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/api/proxy/proxy_api.cc ('k') | chrome/browser/extensions/api/proxy/proxy_api_helpers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698