summaryrefslogtreecommitdiffstats
path: root/net/proxy/proxy_bypass_rules.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/proxy/proxy_bypass_rules.h')
-rw-r--r--net/proxy/proxy_bypass_rules.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/net/proxy/proxy_bypass_rules.h b/net/proxy/proxy_bypass_rules.h
index ad8afdc..c0f5df3 100644
--- a/net/proxy/proxy_bypass_rules.h
+++ b/net/proxy/proxy_bypass_rules.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -153,6 +153,10 @@ class ProxyBypassRules {
// NOTE: Use AddRuleFromString() unless you truly need this behavior.
bool AddRuleFromStringUsingSuffixMatching(const std::string& raw);
+ // Converts the rules to string representation. Inverse operation to
+ // ParseFromString().
+ std::string ToString() const;
+
// Removes all the rules.
void Clear();