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

Unified Diff: content/public/test/cache_test_util.cc

Issue 2757923002: Move StoragePartitionHttpCacheDataRemover to content/ (Closed)
Patch Set: Rebase. Created 3 years, 9 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
« no previous file with comments | « content/public/test/cache_test_util.h ('k') | content/test/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/cache_test_util.cc
diff --git a/chrome/browser/browsing_data/cache_test_util.cc b/content/public/test/cache_test_util.cc
similarity index 97%
rename from chrome/browser/browsing_data/cache_test_util.cc
rename to content/public/test/cache_test_util.cc
index a4cf3df1e58561225adb83e6d3546085d2bf54fe..c94b5c913c58ff4f59402705b4a232a8c3b89b57 100644
--- a/chrome/browser/browsing_data/cache_test_util.cc
+++ b/content/public/test/cache_test_util.cc
@@ -2,15 +2,15 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "content/public/test/cache_test_util.h"
#include "base/memory/ptr_util.h"
#include "base/synchronization/waitable_event.h"
-#include "chrome/browser/browsing_data/cache_test_util.h"
#include "net/disk_cache/disk_cache.h"
#include "net/http/http_cache.h"
#include "net/url_request/url_request_context.h"
#include "net/url_request/url_request_context_getter.h"
-using content::BrowserThread;
+namespace content {
CacheTestUtil::CacheTestUtil(content::StoragePartition* partition)
: partition_(partition), remaining_tasks_(0) {
@@ -145,3 +145,5 @@ void CacheTestUtil::GetNextKey(int error) {
base::Bind(&CacheTestUtil::GetNextKey, base::Unretained(this)));
}
}
+
+} // namespace content
« no previous file with comments | « content/public/test/cache_test_util.h ('k') | content/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698