summaryrefslogtreecommitdiffstats
path: root/net/disk_cache/addr.h
diff options
context:
space:
mode:
authornick@chromium.org <nick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-13 21:25:58 +0000
committernick@chromium.org <nick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-13 21:25:58 +0000
commited16b6e7a6cde1f3e0e17956a6f7d7a0d6d6a77c (patch)
treeb363ead4f824c5dc0b4f54b4bb51b6e7305f8f6c /net/disk_cache/addr.h
parentc05a26cc654acceb8062a759adecedeceeeb89b3 (diff)
downloadchromium_src-ed16b6e7a6cde1f3e0e17956a6f7d7a0d6d6a77c.zip
chromium_src-ed16b6e7a6cde1f3e0e17956a6f7d7a0d6d6a77c.tar.gz
chromium_src-ed16b6e7a6cde1f3e0e17956a6f7d7a0d6d6a77c.tar.bz2
Revert 81472 - Disk Cache: Perform extra validations to data comming fromdisk to detect obvious corruption going undetected.BUG=77841TEST=net_unittestsReview URL: http://codereview.chromium.org/6821064
TBR=rvargas@google.com Review URL: http://codereview.chromium.org/6837035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81485 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/disk_cache/addr.h')
-rw-r--r--net/disk_cache/addr.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/net/disk_cache/addr.h b/net/disk_cache/addr.h
index d754ec5..c10dcc3 100644
--- a/net/disk_cache/addr.h
+++ b/net/disk_cache/addr.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2006-2008 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.
@@ -119,9 +119,6 @@ class Addr {
return EXTERNAL;
}
- // Returns true if this address looks like a valid one.
- bool SanityCheck() const;
-
private:
static const uint32 kInitializedMask = 0x80000000;
static const uint32 kFileTypeMask = 0x70000000;