summaryrefslogtreecommitdiffstats
path: root/net/disk_cache/disk_cache.h
diff options
context:
space:
mode:
authordarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-12 15:52:26 +0000
committerdarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-12 15:52:26 +0000
commit172da1b80ab1d9ec5428f04919f1bed13a37e3dc (patch)
tree4ee0eaf3d734a20b208de30616123ad7621abf5a /net/disk_cache/disk_cache.h
parent8b615de52644092891367b304f3b4663cc6daba6 (diff)
downloadchromium_src-172da1b80ab1d9ec5428f04919f1bed13a37e3dc.zip
chromium_src-172da1b80ab1d9ec5428f04919f1bed13a37e3dc.tar.gz
chromium_src-172da1b80ab1d9ec5428f04919f1bed13a37e3dc.tar.bz2
Rename NET_API to NET_EXPORT, and rename NET_TEST to NET_EXPORT_PRIVATE.
Review URL: http://codereview.chromium.org/7529043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96560 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/disk_cache/disk_cache.h')
-rw-r--r--net/disk_cache/disk_cache.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/net/disk_cache/disk_cache.h b/net/disk_cache/disk_cache.h
index dc320cc..516edb5 100644
--- a/net/disk_cache/disk_cache.h
+++ b/net/disk_cache/disk_cache.h
@@ -14,9 +14,9 @@
#include "base/basictypes.h"
#include "base/time.h"
-#include "net/base/net_api.h"
#include "net/base/cache_type.h"
#include "net/base/completion_callback.h"
+#include "net/base/net_export.h"
class FilePath;
@@ -50,14 +50,14 @@ typedef net::CompletionCallback CompletionCallback;
// be invoked when a backend is available or a fatal error condition is reached.
// The pointer to receive the |backend| must remain valid until the operation
// completes (the callback is notified).
-NET_API int CreateCacheBackend(net::CacheType type, const FilePath& path,
- int max_bytes, bool force,
- base::MessageLoopProxy* thread,
- net::NetLog* net_log, Backend** backend,
- CompletionCallback* callback);
+NET_EXPORT int CreateCacheBackend(net::CacheType type, const FilePath& path,
+ int max_bytes, bool force,
+ base::MessageLoopProxy* thread,
+ net::NetLog* net_log, Backend** backend,
+ CompletionCallback* callback);
// The root interface for a disk cache instance.
-class NET_API Backend {
+class NET_EXPORT Backend {
public:
// If the backend is destroyed when there are operations in progress (any
// callback that has not been invoked yet), this method cancels said
@@ -144,7 +144,7 @@ class NET_API Backend {
};
// This interface represents an entry in the disk cache.
-class NET_TEST Entry {
+class NET_EXPORT Entry {
public:
// Marks this cache entry for deletion.
virtual void Doom() = 0;