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

Unified Diff: chrome/browser/browsing_data/conditional_cache_counting_helper_browsertest.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
Index: chrome/browser/browsing_data/conditional_cache_counting_helper_browsertest.cc
diff --git a/chrome/browser/browsing_data/conditional_cache_counting_helper_browsertest.cc b/chrome/browser/browsing_data/conditional_cache_counting_helper_browsertest.cc
index 111e573b190b4e1b0a606f11fe19f1d07293bb11..2af4f527bb4c9ae261e52b50af67b40af2271797 100644
--- a/chrome/browser/browsing_data/conditional_cache_counting_helper_browsertest.cc
+++ b/chrome/browser/browsing_data/conditional_cache_counting_helper_browsertest.cc
@@ -8,13 +8,13 @@
#include <string>
#include "base/run_loop.h"
-#include "chrome/browser/browsing_data/cache_test_util.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/test/base/in_process_browser_test.h"
#include "components/browsing_data/content/conditional_cache_counting_helper.h"
#include "content/public/browser/browser_context.h"
#include "content/public/browser/browser_thread.h"
+#include "content/public/test/cache_test_util.h"
using browsing_data::ConditionalCacheCountingHelper;
using content::BrowserThread;
@@ -28,7 +28,7 @@ class ConditionalCacheCountingHelperBrowserTest : public InProcessBrowserTest {
base::Bind(&ConditionalCacheCountingHelperBrowserTest::CountCallback,
base::Unretained(this));
- cache_util_ = base::MakeUnique<CacheTestUtil>(
+ cache_util_ = base::MakeUnique<content::CacheTestUtil>(
content::BrowserContext::GetDefaultStoragePartition(
browser()->profile()));
}
@@ -69,12 +69,12 @@ class ConditionalCacheCountingHelperBrowserTest : public InProcessBrowserTest {
int64_t GetResultOrError() { return last_size_; }
- CacheTestUtil* GetCacheTestUtil() { return cache_util_.get(); }
+ content::CacheTestUtil* GetCacheTestUtil() { return cache_util_.get(); }
private:
ConditionalCacheCountingHelper::CacheCountCallback count_callback_;
std::unique_ptr<base::RunLoop> run_loop_;
- std::unique_ptr<CacheTestUtil> cache_util_;
+ std::unique_ptr<content::CacheTestUtil> cache_util_;
int64_t last_size_;
bool last_is_upper_limit_;

Powered by Google App Engine
This is Rietveld 408576698