From 225c8f507421a2eff2ed7a900104431d04ed7e5e Mon Sep 17 00:00:00 2001 From: "evan@chromium.org" Date: Fri, 5 Feb 2010 22:23:20 +0000 Subject: linux: build with -Wextra 95% of this is removing "const" from return types, but turning this on found one bug! (A "for" loop that expected its iterator to go negative but which was using an unsigned type.) BUG=34160 Review URL: http://codereview.chromium.org/570012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38266 0039d316-1c4b-4281-b951-d872f2087c98 --- net/base/sdch_manager.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'net/base/sdch_manager.cc') diff --git a/net/base/sdch_manager.cc b/net/base/sdch_manager.cc index b279749..6a8709b 100644 --- a/net/base/sdch_manager.cc +++ b/net/base/sdch_manager.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 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. @@ -122,7 +122,7 @@ void SdchManager::EnableSdchSupport(const std::string& domain) { global_->sdch_enabled_ = true; } -const bool SdchManager::IsInSupportedDomain(const GURL& url) { +bool SdchManager::IsInSupportedDomain(const GURL& url) { if (!sdch_enabled_ ) return false; if (!supported_domain_.empty() && -- cgit v1.1