1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef NET_DISK_CACHE_SIMPLE_SIMPLE_TEST_UTIL_H_
6 #define NET_DISK_CACHE_SIMPLE_SIMPLE_TEST_UTIL_H_
10 #include "base/basictypes.h"
11 #include "net/base/net_export.h"
17 namespace disk_cache
{
19 namespace simple_util
{
21 // Creates a corrupt file to be used in tests.
22 bool CreateCorruptFileForTests(const std::string
& key
,
23 const base::FilePath
& cache_path
);
25 } // namespace simple_backend
27 } // namespace disk_cache
29 #endif // NET_DISK_CACHE_SIMPLE_SIMPLE_TEST_UTIL_H_