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

Side by Side Diff: net/disk_cache/disk_cache_test_util.h

Issue 118162: Reduce header dependencies in base/ (Closed)
Patch Set: Created 11 years, 6 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_DISK_CACHE_DISK_CACHE_TEST_UTIL_H_ 5 #ifndef NET_DISK_CACHE_DISK_CACHE_TEST_UTIL_H_
6 #define NET_DISK_CACHE_DISK_CACHE_TEST_UTIL_H_ 6 #define NET_DISK_CACHE_DISK_CACHE_TEST_UTIL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/file_path.h" 10 #include "base/file_path.h"
11 #include "base/message_loop.h" 11 #include "base/message_loop.h"
12 #include "base/task.h" 12 #include "base/task.h"
13 #include "base/timer.h"
13 14
14 // Re-creates a given test file inside the cache test folder. 15 // Re-creates a given test file inside the cache test folder.
15 bool CreateCacheTestFile(const wchar_t* name); 16 bool CreateCacheTestFile(const wchar_t* name);
16 17
17 // Deletes all file son the cache. 18 // Deletes all file son the cache.
18 bool DeleteCache(const wchar_t* path); 19 bool DeleteCache(const wchar_t* path);
19 20
20 // Gets the path to the cache test folder. 21 // Gets the path to the cache test folder.
21 std::wstring GetCachePath(); 22 std::wstring GetCachePath();
22 23
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 base::RepeatingTimer<MessageLoopHelper> timer_; 93 base::RepeatingTimer<MessageLoopHelper> timer_;
93 int num_callbacks_; 94 int num_callbacks_;
94 int num_iterations_; 95 int num_iterations_;
95 int last_; 96 int last_;
96 bool completed_; 97 bool completed_;
97 98
98 DISALLOW_COPY_AND_ASSIGN(MessageLoopHelper); 99 DISALLOW_COPY_AND_ASSIGN(MessageLoopHelper);
99 }; 100 };
100 101
101 #endif // NET_DISK_CACHE_DISK_CACHE_TEST_UTIL_H_ 102 #endif // NET_DISK_CACHE_DISK_CACHE_TEST_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698