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

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

Issue 12153002: Move chrome://media-internals to content. This allows us to hide implementation details from the pu… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 11 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: chrome/browser/media/media_internals_observer.h
===================================================================
--- chrome/browser/media/media_internals_observer.h (revision 179909)
+++ chrome/browser/media/media_internals_observer.h (working copy)
@@ -1,28 +0,0 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_MEDIA_MEDIA_INTERNALS_OBSERVER_H_
-#define CHROME_BROWSER_MEDIA_MEDIA_INTERNALS_OBSERVER_H_
-
-#include "content/public/browser/media_request_state.h"
-#include "content/public/common/media_stream_request.h"
-
-// Used by MediaInternalsUI to receive callbacks on media events.
-// Callbacks will be on the IO thread.
-class MediaInternalsObserver {
- public:
- // Handle an information update consisting of a javascript function call.
- virtual void OnUpdate(const string16& javascript) {}
-
- // Handle an information update related to a media stream request.
- virtual void OnRequestUpdate(
- int render_process_id,
- int render_view_id,
- const content::MediaStreamDevice& device,
- const content::MediaRequestState state) {}
-
- virtual ~MediaInternalsObserver() {}
-};
-
-#endif // CHROME_BROWSER_MEDIA_MEDIA_INTERNALS_OBSERVER_H_

Powered by Google App Engine
This is Rietveld 408576698