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

Unified Diff: blimp/common/blob_cache/test_util.cc

Issue 1962193002: Add a integration test suite for BlobChannel. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove redundant callback Created 4 years, 7 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 | « blimp/common/blob_cache/test_util.h ('k') | blimp/net/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/common/blob_cache/test_util.cc
diff --git a/blimp/common/blob_cache/mock_blob_cache.cc b/blimp/common/blob_cache/test_util.cc
similarity index 60%
copy from blimp/common/blob_cache/mock_blob_cache.cc
copy to blimp/common/blob_cache/test_util.cc
index 4cf10522588b680929bcbe0a751f6e8dbff32b4f..e416b815e61bc1b928a7da9cf6bd030108784233 100644
--- a/blimp/common/blob_cache/mock_blob_cache.cc
+++ b/blimp/common/blob_cache/test_util.cc
@@ -2,12 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "blimp/common/blob_cache/mock_blob_cache.h"
+#include "blimp/common/blob_cache/test_util.h"
namespace blimp {
-MockBlobCache::MockBlobCache() {}
-
-MockBlobCache::~MockBlobCache() {}
+BlobDataPtr CreateBlobDataPtr(const std::string& data) {
+ return new BlobData(data);
+}
} // namespace blimp
« no previous file with comments | « blimp/common/blob_cache/test_util.h ('k') | blimp/net/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698