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

Unified Diff: components/copresence/rpc/rpc_handler_unittest.cc

Issue 865483005: Creating the audio_modem component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merging again Created 5 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
« no previous file with comments | « components/copresence/rpc/rpc_handler.cc ('k') | components/copresence/test/audio_test_support.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/copresence/rpc/rpc_handler_unittest.cc
diff --git a/components/copresence/rpc/rpc_handler_unittest.cc b/components/copresence/rpc/rpc_handler_unittest.cc
index 31a0b7534939d444fc3ef538fd745ab162b33ea8..e4ff7309289e1318e1a59a2a07dc1d0ef9a07e57 100644
--- a/components/copresence/rpc/rpc_handler_unittest.cc
+++ b/components/copresence/rpc/rpc_handler_unittest.cc
@@ -12,14 +12,14 @@
#include "base/bind_helpers.h"
#include "base/memory/scoped_vector.h"
#include "base/message_loop/message_loop.h"
+#include "components/audio_modem/public/modem.h"
+#include "components/audio_modem/test/stub_whispernet_client.h"
#include "components/copresence/copresence_state_impl.h"
#include "components/copresence/handlers/directive_handler.h"
-#include "components/copresence/mediums/audio/audio_manager.h"
#include "components/copresence/proto/data.pb.h"
#include "components/copresence/proto/enums.pb.h"
#include "components/copresence/proto/rpcs.pb.h"
#include "components/copresence/test/fake_directive_handler.h"
-#include "components/copresence/test/stub_whispernet_client.h"
#include "net/http/http_status_code.h"
#include "testing/gmock/include/gmock/gmock.h"
@@ -30,6 +30,9 @@ using testing::ElementsAre;
using testing::Property;
using testing::SizeIs;
+using audio_modem::AudioToken;
+using audio_modem::WhispernetClient;
+
namespace copresence {
namespace {
@@ -44,7 +47,7 @@ void IgnoreMessages(
class RpcHandlerTest : public testing::Test, public CopresenceDelegate {
public:
RpcHandlerTest()
- : whispernet_client_(new StubWhispernetClient),
+ : whispernet_client_(new audio_modem::StubWhispernetClient),
// TODO(ckehoe): Use a FakeCopresenceState here
// and test that it gets called correctly.
state_(new CopresenceStateImpl),
« no previous file with comments | « components/copresence/rpc/rpc_handler.cc ('k') | components/copresence/test/audio_test_support.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698