summaryrefslogtreecommitdiffstats
path: root/net/proxy/proxy_bypass_rules.cc
diff options
context:
space:
mode:
authorerg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-31 18:00:53 +0000
committererg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-31 18:00:53 +0000
commit9349cfb12f1b27e30ebb5d4ffc994812cce26d59 (patch)
treec98a55495b06a5cd068c251d2e217cf89cef6c02 /net/proxy/proxy_bypass_rules.cc
parent1c77d22487ac4759f29d329be7493228671bc05f (diff)
downloadchromium_src-9349cfb12f1b27e30ebb5d4ffc994812cce26d59.zip
chromium_src-9349cfb12f1b27e30ebb5d4ffc994812cce26d59.tar.gz
chromium_src-9349cfb12f1b27e30ebb5d4ffc994812cce26d59.tar.bz2
FBTF: A giant cleanup to net/
This moves all sorts of code from h files to cc files and reduces header dependencies. BUG=none TEST=compiles Review URL: http://codereview.chromium.org/3212008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58020 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/proxy/proxy_bypass_rules.cc')
-rw-r--r--net/proxy/proxy_bypass_rules.cc12
1 files changed, 12 insertions, 0 deletions
diff --git a/net/proxy/proxy_bypass_rules.cc b/net/proxy/proxy_bypass_rules.cc
index 02d8e3f..987543a 100644
--- a/net/proxy/proxy_bypass_rules.cc
+++ b/net/proxy/proxy_bypass_rules.cc
@@ -123,9 +123,21 @@ bool IsIPAddress(const std::string& domain) {
} // namespace
+ProxyBypassRules::ProxyBypassRules() {
+}
+
+ProxyBypassRules::ProxyBypassRules(const ProxyBypassRules& rhs)
+ : rules_(rhs.rules_) {
+}
+
ProxyBypassRules::~ProxyBypassRules() {
}
+ProxyBypassRules& ProxyBypassRules::operator=(const ProxyBypassRules& rhs) {
+ rules_ = rhs.rules_;
+ return *this;
+}
+
bool ProxyBypassRules::Matches(const GURL& url) const {
for (RuleList::const_iterator it = rules_.begin(); it != rules_.end(); ++it) {
if ((*it)->Matches(url))