Chromium Code Reviews| Index: net/disk_cache/disk_cache.h |
| =================================================================== |
| --- net/disk_cache/disk_cache.h (revision 95949) |
| +++ net/disk_cache/disk_cache.h (working copy) |
| @@ -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 @@ |
| // 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 @@ |
| }; |
| // This interface represents an entry in the disk cache. |
| -class NET_TEST Entry { |
| +class NET_EXPORT_PRIVATE Entry { |
|
rvargas (doing something else)
2011/08/11 01:25:29
Could you make this a NET_EXPORT?. My mistake.
|
| public: |
| // Marks this cache entry for deletion. |
| virtual void Doom() = 0; |