Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(107)

Unified Diff: net/disk_cache/disk_cache.h

Issue 7529043: Rename NET_API to NET_EXPORT, and rename NET_TEST to NET_EXPORT_PRIVATE. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698