Chromium Code Reviews| Index: net/proxy/proxy_config.h |
| =================================================================== |
| --- net/proxy/proxy_config.h (revision 16488) |
| +++ net/proxy/proxy_config.h (working copy) |
| @@ -28,6 +28,7 @@ |
| // Used to numerically identify this configuration. |
| ID id() const { return id_; } |
| void set_id(int id) { id_ = id; } |
| + bool is_valid() { return id_ != INVALID_ID; } |
| // True if the proxy configuration should be auto-detected. |
| bool auto_detect; |