summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorwtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-13 02:39:47 +0000
committerwtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-13 02:39:47 +0000
commit8210022eadf1cd0f53b3df8610be03c702353fd3 (patch)
tree5c69694197c4912f4fbdbac54cfc2a3920538982 /net
parent3c63d2b104d654366e9105e99f3343db92203df9 (diff)
downloadchromium_src-8210022eadf1cd0f53b3df8610be03c702353fd3.zip
chromium_src-8210022eadf1cd0f53b3df8610be03c702353fd3.tar.gz
chromium_src-8210022eadf1cd0f53b3df8610be03c702353fd3.tar.bz2
Define id_ to have the ID type for better readability.
R=eroman@chromium.org BUG=none TEST=no compilation error Review URL: http://codereview.chromium.org/8251007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105245 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
-rw-r--r--net/proxy/proxy_config.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/proxy/proxy_config.h b/net/proxy/proxy_config.h
index f666e93..fa2f6e8 100644
--- a/net/proxy/proxy_config.h
+++ b/net/proxy/proxy_config.h
@@ -119,7 +119,7 @@ class NET_EXPORT ProxyConfig {
// Used to numerically identify this configuration.
ID id() const { return id_; }
- void set_id(int id) { id_ = id; }
+ void set_id(ID id) { id_ = id; }
bool is_valid() const { return id_ != kInvalidConfigID; }
// Returns true if the given config is equivalent to this config.
@@ -205,7 +205,7 @@ class NET_EXPORT ProxyConfig {
// Manual proxy settings.
ProxyRules proxy_rules_;
- int id_;
+ ID id_;
};
} // namespace net