summaryrefslogtreecommitdiffstats
path: root/net/disk_cache/addr.h
diff options
context:
space:
mode:
authorrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-07 00:49:34 +0000
committerrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-07 00:49:34 +0000
commit5138d5f0b0c79ec5bae32cc506a0e21a9ad9c986 (patch)
tree3da08f18243cc12d1bb5199c841ae3942e84c65e /net/disk_cache/addr.h
parent92406269a4f6363ca5e0f50d7b175f7d647f8e67 (diff)
downloadchromium_src-5138d5f0b0c79ec5bae32cc506a0e21a9ad9c986.zip
chromium_src-5138d5f0b0c79ec5bae32cc506a0e21a9ad9c986.tar.gz
chromium_src-5138d5f0b0c79ec5bae32cc506a0e21a9ad9c986.tar.bz2
disk cache: Add NET_API for net.dll
BUG=76997 TEST=NONE Review URL: http://codereview.chromium.org/6933045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84532 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/disk_cache/addr.h')
-rw-r--r--net/disk_cache/addr.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/disk_cache/addr.h b/net/disk_cache/addr.h
index d754ec5..cd4dc63 100644
--- a/net/disk_cache/addr.h
+++ b/net/disk_cache/addr.h
@@ -9,6 +9,7 @@
#define NET_DISK_CACHE_ADDR_H_
#pragma once
+#include "net/base/net_api.h"
#include "net/disk_cache/disk_format.h"
namespace disk_cache {
@@ -47,7 +48,7 @@ const int kFirstAdditionalBlockFile = 4;
// 0000 0011 0000 0000 0000 0000 0000 0000 : number of contiguous blocks 1-4
// 0000 0000 1111 1111 0000 0000 0000 0000 : file selector 0 - 255
// 0000 0000 0000 0000 1111 1111 1111 1111 : block# 0 - 65,535 (2^16)
-class Addr {
+class NET_TEST Addr {
public:
Addr() : value_(0) {}
explicit Addr(CacheAddr address) : value_(address) {}