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

Unified Diff: chrome/browser/media/media_internals.h

Issue 11236052: Indicate tab recording state in tab strip (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Always add capture devices Created 8 years, 2 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 | « chrome/app/theme/theme_resources.grd ('k') | chrome/browser/media/media_internals.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/media/media_internals.h
diff --git a/chrome/browser/media/media_internals.h b/chrome/browser/media/media_internals.h
index ab762e45106a9be4f2c093e59f46a54abaeacb64..483865b95e851ba6a6a8907d189ea185f3693dcd 100644
--- a/chrome/browser/media/media_internals.h
+++ b/chrome/browser/media/media_internals.h
@@ -5,7 +5,6 @@
#ifndef CHROME_BROWSER_MEDIA_MEDIA_INTERNALS_H_
#define CHROME_BROWSER_MEDIA_MEDIA_INTERNALS_H_
-#include "base/memory/ref_counted.h"
#include "base/memory/singleton.h"
#include "base/observer_list.h"
#include "base/values.h"
@@ -62,6 +61,10 @@ class MediaInternals : public content::MediaObserver {
void RemoveObserver(MediaInternalsObserver* observer);
void SendEverything();
+ MediaStreamCaptureIndicator* media_stream_capture_indicator() {
+ return media_stream_capture_indicator_.get();
+ }
+
private:
friend class MediaInternalsTest;
friend struct DefaultSingletonTraits<MediaInternals>;
@@ -87,7 +90,7 @@ class MediaInternals : public content::MediaObserver {
DictionaryValue data_;
ObserverList<MediaInternalsObserver> observers_;
- scoped_refptr<MediaStreamCaptureIndicator> media_stream_capture_indicator_;
+ scoped_ptr<MediaStreamCaptureIndicator> media_stream_capture_indicator_;
DISALLOW_COPY_AND_ASSIGN(MediaInternals);
};
« no previous file with comments | « chrome/app/theme/theme_resources.grd ('k') | chrome/browser/media/media_internals.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698