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

Unified Diff: media/cast/logging/simple_event_subscriber.h

Issue 145873007: Cast: Added missing DCHECKs to ThreadChecker calls and minor cleanup. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 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 | « media/cast/logging/logging_raw_unittest.cc ('k') | media/cast/logging/simple_event_subscriber.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/logging/simple_event_subscriber.h
diff --git a/media/cast/logging/simple_event_subscriber.h b/media/cast/logging/simple_event_subscriber.h
index b8f0b49b2b1ff6a36de446ca6330d7f46a911c08..3cf890ae975c1f8159fa9e0c2dfd58764937a017 100644
--- a/media/cast/logging/simple_event_subscriber.h
+++ b/media/cast/logging/simple_event_subscriber.h
@@ -7,8 +7,6 @@
#include <vector>
-#include "base/memory/ref_counted.h"
-#include "base/single_thread_task_runner.h"
#include "base/threading/thread_checker.h"
#include "media/cast/logging/raw_event_subscriber.h"
@@ -21,17 +19,13 @@ namespace cast {
// list of events that have acccumulated since last inovcation.
class SimpleEventSubscriber : public RawEventSubscriber {
public:
- // |main_thread_proxy|: Only used for ensuring the subscriber is only called
- // on the main thread. This object does not keep a reference on it.
- explicit SimpleEventSubscriber(
- const scoped_refptr<base::SingleThreadTaskRunner>& main_thread_proxy);
+ SimpleEventSubscriber();
virtual ~SimpleEventSubscriber();
+ // RawEventSubscriber implementations.
virtual void OnReceiveFrameEvent(const FrameEvent& frame_event) OVERRIDE;
-
virtual void OnReceivePacketEvent(const PacketEvent& packet_event) OVERRIDE;
-
virtual void OnReceiveGenericEvent(const GenericEvent& generic_event)
OVERRIDE;
« no previous file with comments | « media/cast/logging/logging_raw_unittest.cc ('k') | media/cast/logging/simple_event_subscriber.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698