OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 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 #include "chrome/browser/net/firefox_proxy_settings.h" | 5 #include "chrome/browser/net/firefox_proxy_settings.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include "base/files/file_path.h" | 9 #include "base/files/file_path.h" |
8 #include "base/files/file_util.h" | 10 #include "base/files/file_util.h" |
9 #include "base/strings/string_number_conversions.h" | 11 #include "base/strings/string_number_conversions.h" |
10 #include "base/strings/string_split.h" | 12 #include "base/strings/string_split.h" |
11 #include "base/strings/string_tokenizer.h" | 13 #include "base/strings/string_tokenizer.h" |
12 #include "base/strings/string_util.h" | 14 #include "base/strings/string_util.h" |
13 #include "base/values.h" | 15 #include "base/values.h" |
14 #include "chrome/common/importer/firefox_importer_utils.h" | 16 #include "chrome/common/importer/firefox_importer_utils.h" |
15 #include "net/proxy/proxy_config.h" | 17 #include "net/proxy/proxy_config.h" |
16 | 18 |
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
297 while (string_tok.GetNext()) { | 299 while (string_tok.GetNext()) { |
298 std::string token = string_tok.token(); | 300 std::string token = string_tok.token(); |
299 base::TrimWhitespaceASCII(token, base::TRIM_ALL, &token); | 301 base::TrimWhitespaceASCII(token, base::TRIM_ALL, &token); |
300 if (!token.empty()) | 302 if (!token.empty()) |
301 settings->proxy_bypass_list_.push_back(token); | 303 settings->proxy_bypass_list_.push_back(token); |
302 } | 304 } |
303 } | 305 } |
304 } | 306 } |
305 return true; | 307 return true; |
306 } | 308 } |
OLD | NEW |