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

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

Issue 790623002: Drop unused base/tuple.h inclusion (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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
« no previous file with comments | « net/base/test_completion_callback.h ('k') | printing/pwg_raster_settings.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/files/file_path.h" 10 #include "base/files/file_path.h"
11 #include "base/message_loop/message_loop.h" 11 #include "base/message_loop/message_loop.h"
12 #include "base/timer/timer.h" 12 #include "base/timer/timer.h"
13 #include "base/tuple.h"
14 #include "build/build_config.h" 13 #include "build/build_config.h"
15 14
16 // Re-creates a given test file inside the cache test folder. 15 // Re-creates a given test file inside the cache test folder.
17 bool CreateCacheTestFile(const base::FilePath& name); 16 bool CreateCacheTestFile(const base::FilePath& name);
18 17
19 // Deletes all file son the cache. 18 // Deletes all file son the cache.
20 bool DeleteCache(const base::FilePath& path); 19 bool DeleteCache(const base::FilePath& path);
21 20
22 // Fills buffer with random values (may contain nulls unless no_nulls is true). 21 // Fills buffer with random values (may contain nulls unless no_nulls is true).
23 void CacheTestFillBuffer(char* buffer, size_t len, bool no_nulls); 22 void CacheTestFillBuffer(char* buffer, size_t len, bool no_nulls);
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 int last_result() const { return last_result_; } 95 int last_result() const { return last_result_; }
97 96
98 private: 97 private:
99 MessageLoopHelper* helper_; 98 MessageLoopHelper* helper_;
100 int reuse_; 99 int reuse_;
101 int last_result_; 100 int last_result_;
102 DISALLOW_COPY_AND_ASSIGN(CallbackTest); 101 DISALLOW_COPY_AND_ASSIGN(CallbackTest);
103 }; 102 };
104 103
105 #endif // NET_DISK_CACHE_DISK_CACHE_TEST_UTIL_H_ 104 #endif // NET_DISK_CACHE_DISK_CACHE_TEST_UTIL_H_
OLDNEW
« no previous file with comments | « net/base/test_completion_callback.h ('k') | printing/pwg_raster_settings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698