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

Unified Diff: net/disk_cache/cache_util.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/cache_util.h
===================================================================
--- net/disk_cache/cache_util.h (revision 95949)
+++ net/disk_cache/cache_util.h (working copy)
@@ -7,7 +7,7 @@
#pragma once
#include "base/basictypes.h"
-#include "net/base/net_api.h"
+#include "net/base/net_export.h"
class FilePath;
@@ -19,14 +19,15 @@
// for the cache directory. Returns true if successful. On ChromeOS,
// this moves the cache contents, and leaves the empty cache
// directory.
-NET_TEST bool MoveCache(const FilePath& from_path, const FilePath& to_path);
+NET_EXPORT_PRIVATE bool MoveCache(const FilePath& from_path,
+ const FilePath& to_path);
// Deletes the cache files stored on |path|, and optionally also attempts to
// delete the folder itself.
-NET_TEST void DeleteCache(const FilePath& path, bool remove_folder);
+NET_EXPORT_PRIVATE void DeleteCache(const FilePath& path, bool remove_folder);
// Deletes a cache file.
-NET_TEST bool DeleteCacheFile(const FilePath& name);
+NET_EXPORT_PRIVATE bool DeleteCacheFile(const FilePath& name);
} // namespace disk_cache

Powered by Google App Engine
This is Rietveld 408576698