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

Unified Diff: components/copresence/handlers/directive_handler_impl.h

Issue 824593003: Revert of Adding CopresenceState (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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: components/copresence/handlers/directive_handler_impl.h
diff --git a/components/copresence/handlers/directive_handler_impl.h b/components/copresence/handlers/directive_handler_impl.h
index b507b5f27038e2b97875e7f73d6025e8e2f446d3..6659e43addfd1031b70c4966a57f667a910a5c5b 100644
--- a/components/copresence/handlers/directive_handler_impl.h
+++ b/components/copresence/handlers/directive_handler_impl.h
@@ -13,21 +13,17 @@
#include "base/memory/scoped_ptr.h"
#include "components/copresence/handlers/audio/audio_directive_handler_impl.h"
-#include "components/copresence/public/copresence_constants.h"
namespace copresence {
// The directive handler manages transmit and receive directives.
class DirectiveHandlerImpl final : public DirectiveHandler {
public:
- explicit DirectiveHandlerImpl(
- const DirectivesCallback& update_directives_callback);
- DirectiveHandlerImpl(
- const DirectivesCallback& update_directives_callback,
- scoped_ptr<AudioDirectiveHandler> audio_handler);
+ explicit DirectiveHandlerImpl(scoped_ptr<AudioDirectiveHandler>
+ audio_handler = make_scoped_ptr(new AudioDirectiveHandlerImpl));
~DirectiveHandlerImpl() override;
- // DirectiveHandler overrides.
+ // DirectiveHandler overrides
void Start(WhispernetClient* whispernet_client,
const TokensCallback& tokens_cb) override;
void AddDirective(const Directive& directive) override;

Powered by Google App Engine
This is Rietveld 408576698