diff options
author | rvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-07 00:49:34 +0000 |
---|---|---|
committer | rvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-07 00:49:34 +0000 |
commit | 5138d5f0b0c79ec5bae32cc506a0e21a9ad9c986 (patch) | |
tree | 3da08f18243cc12d1bb5199c841ae3942e84c65e /net/disk_cache/cache_util.h | |
parent | 92406269a4f6363ca5e0f50d7b175f7d647f8e67 (diff) | |
download | chromium_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/cache_util.h')
-rw-r--r-- | net/disk_cache/cache_util.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/net/disk_cache/cache_util.h b/net/disk_cache/cache_util.h index 04b9a07..47630b9 100644 --- a/net/disk_cache/cache_util.h +++ b/net/disk_cache/cache_util.h @@ -1,4 +1,4 @@ -// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -7,6 +7,7 @@ #pragma once #include "base/basictypes.h" +#include "net/base/net_api.h" class FilePath; @@ -18,14 +19,14 @@ namespace disk_cache { // for the cache directory. Returns true if successful. On ChromeOS, // this moves the cache contents, and leaves the empty cache // directory. -bool MoveCache(const FilePath& from_path, const FilePath& to_path); +NET_TEST 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. -void DeleteCache(const FilePath& path, bool remove_folder); +NET_TEST void DeleteCache(const FilePath& path, bool remove_folder); // Deletes a cache file. -bool DeleteCacheFile(const FilePath& name); +NET_TEST bool DeleteCacheFile(const FilePath& name); } // namespace disk_cache |