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

Side by Side Diff: content/public/browser/media_observer.h

Issue 1873293002: Report if video capturing meets output protection requirement. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed oshima and nasko's comments, and rebased. Created 4 years, 7 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 unified diff | Download patch
« no previous file with comments | « content/content_renderer.gypi ('k') | content/public/renderer/media_stream_video_sink.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_PUBLIC_BROWSER_MEDIA_OBSERVER_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_MEDIA_OBSERVER_H_
6 #define CONTENT_PUBLIC_BROWSER_MEDIA_OBSERVER_H_ 6 #define CONTENT_PUBLIC_BROWSER_MEDIA_OBSERVER_H_
7 7
8 #include "base/callback_forward.h" 8 #include "base/callback_forward.h"
9 #include "content/public/browser/media_request_state.h" 9 #include "content/public/browser/media_request_state.h"
10 #include "content/public/common/media_stream_request.h" 10 #include "content/public/common/media_stream_request.h"
(...skipping 16 matching lines...) Expand all
27 int render_frame_id, 27 int render_frame_id,
28 int page_request_id, 28 int page_request_id,
29 const GURL& security_origin, 29 const GURL& security_origin,
30 MediaStreamType stream_type, 30 MediaStreamType stream_type,
31 MediaRequestState state) = 0; 31 MediaRequestState state) = 0;
32 32
33 // Called when an audio stream is being created. 33 // Called when an audio stream is being created.
34 virtual void OnCreatingAudioStream(int render_process_id, 34 virtual void OnCreatingAudioStream(int render_process_id,
35 int render_frame_id) = 0; 35 int render_frame_id) = 0;
36 36
37 // Called when the secure display link status of one or more consumers of this
38 // media stream has changed.
39 virtual void OnSetCapturingLinkSecured(int render_process_id,
40 int render_frame_id,
41 int page_request_id,
42 MediaStreamType stream_type,
43 bool is_secure) = 0;
44
37 protected: 45 protected:
38 virtual ~MediaObserver() {} 46 virtual ~MediaObserver() {}
39 }; 47 };
40 48
41 } // namespace content 49 } // namespace content
42 50
43 #endif // CONTENT_PUBLIC_BROWSER_MEDIA_OBSERVER_H_ 51 #endif // CONTENT_PUBLIC_BROWSER_MEDIA_OBSERVER_H_
OLDNEW
« no previous file with comments | « content/content_renderer.gypi ('k') | content/public/renderer/media_stream_video_sink.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698