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

Unified Diff: blimp/net/blob_channel/blob_channel_integration_test.cc

Issue 1985863002: Incorporate BlobChannel into Blimp image encode/decode pipeline. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@blobchannel-helium
Patch Set: fix gn dependency warning & rebase Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « blimp/net/blimp_connection_unittest.cc ('k') | blimp/net/blob_channel/blob_channel_receiver.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/net/blob_channel/blob_channel_integration_test.cc
diff --git a/blimp/net/blob_channel/blob_channel_integration_test.cc b/blimp/net/blob_channel/blob_channel_integration_test.cc
index cc8d4f1d310c8cd59b829c9dd7091756e7e2130b..4c616c405670ae90dc89c58b800c53910ca48af5 100644
--- a/blimp/net/blob_channel/blob_channel_integration_test.cc
+++ b/blimp/net/blob_channel/blob_channel_integration_test.cc
@@ -15,6 +15,7 @@
#include "blimp/common/blob_cache/test_util.h"
#include "blimp/net/blob_channel/blob_channel_receiver.h"
#include "blimp/net/blob_channel/blob_channel_sender.h"
+#include "blimp/net/blob_channel/blob_channel_sender_impl.h"
#include "blimp/net/blob_channel/mock_blob_channel_receiver.h"
#include "blimp/net/test_common.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -31,7 +32,7 @@ const char kBlobPayload[] = "bar1";
// Routes sender delegate calls to a receiver delegate object.
// The caller is responsible for ensuring that the receiver delegate is deleted
// after |this| is deleted.
-class SenderDelegateProxy : public BlobChannelSender::Delegate {
+class SenderDelegateProxy : public BlobChannelSenderImpl::Delegate {
public:
explicit SenderDelegateProxy(BlobChannelReceiver* receiver)
: receiver_(receiver) {}
@@ -68,7 +69,7 @@ class BlobChannelIntegrationTest : public testing::Test {
EXPECT_EQ(receiver_.get(), stored_receiver);
- sender_.reset(new BlobChannelSender(
+ sender_.reset(new BlobChannelSenderImpl(
base::WrapUnique(new InMemoryBlobCache),
base::WrapUnique(new SenderDelegateProxy(receiver_.get()))));
}
« no previous file with comments | « blimp/net/blimp_connection_unittest.cc ('k') | blimp/net/blob_channel/blob_channel_receiver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698