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

Side by Side Diff: components/proxy_config/proxy_config_dictionary.cc

Issue 1551433002: Switch to standard integer types in components/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more Created 4 years, 12 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "components/proxy_config/proxy_config_dictionary.h" 5 #include "components/proxy_config/proxy_config_dictionary.h"
6 6
7 #include "base/basictypes.h"
8 #include "base/logging.h" 7 #include "base/logging.h"
9 #include "base/values.h" 8 #include "base/values.h"
10 #include "net/proxy/proxy_config.h" 9 #include "net/proxy/proxy_config.h"
11 10
12 namespace { 11 namespace {
13 12
14 // Integer to specify the type of proxy settings. 13 // Integer to specify the type of proxy settings.
15 // See ProxyPrefs for possible values and interactions with the other proxy 14 // See ProxyPrefs for possible values and interactions with the other proxy
16 // preferences. 15 // preferences.
17 const char kProxyMode[] = "mode"; 16 const char kProxyMode[] = "mode";
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 152
154 if (!spec->empty()) 153 if (!spec->empty())
155 *spec += ';'; 154 *spec += ';';
156 155
157 if (!url_scheme.empty()) { 156 if (!url_scheme.empty()) {
158 *spec += url_scheme; 157 *spec += url_scheme;
159 *spec += "="; 158 *spec += "=";
160 } 159 }
161 *spec += server.ToURI(); 160 *spec += server.ToURI();
162 } 161 }
OLDNEW
« no previous file with comments | « components/proxy_config/proxy_config_dictionary.h ('k') | components/proxy_config/proxy_prefs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698