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

Unified Diff: media/cdm/cdm_adapter_unittest.cc

Issue 1673383002: Add allocator interface for use by cdm_adapter (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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: media/cdm/cdm_adapter_unittest.cc
diff --git a/media/cdm/cdm_adapter_unittest.cc b/media/cdm/cdm_adapter_unittest.cc
index 46de9244e02e10beba5691d440a71156232d0006..95787f32b8e215191984fdf26f85c28a1fc9937b 100644
--- a/media/cdm/cdm_adapter_unittest.cc
+++ b/media/cdm/cdm_adapter_unittest.cc
@@ -13,6 +13,7 @@
#include "media/base/cdm_key_information.h"
#include "media/base/media_keys.h"
#include "media/cdm/cdm_adapter.h"
+#include "media/cdm/cdm_buffer_allocator_impl.h"
#include "media/cdm/external_clear_key_test_helper.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -92,7 +93,8 @@ class CdmAdapterTest : public testing::Test {
base::Bind(&CdmAdapterTest::OnSessionExpirationUpdate,
base::Unretained(this)),
base::Bind(&CdmAdapterTest::OnCdmCreated, base::Unretained(this),
- expected_result));
+ expected_result),
+ new CdmBufferAllocatorImpl());
RunUntilIdle();
}

Powered by Google App Engine
This is Rietveld 408576698