Chromium Code Reviews| Index: chrome/browser/extensions/api/tab_capture/offscreen_presentation.h |
| diff --git a/chrome/browser/extensions/api/tab_capture/offscreen_presentation.h b/chrome/browser/extensions/api/tab_capture/offscreen_presentation.h |
| index 03ca5c22810b3cbf2daf8cb9073895912bec0fe8..4bb66085265fa0f4567de7010bdbc867fba5f0c1 100644 |
| --- a/chrome/browser/extensions/api/tab_capture/offscreen_presentation.h |
| +++ b/chrome/browser/extensions/api/tab_capture/offscreen_presentation.h |
| @@ -18,6 +18,10 @@ |
| class Profile; |
| +namespace media_router { |
| +class OffscreenPresentationManager; |
| +} |
| + |
| namespace extensions { |
| class OffscreenPresentation; // Forward declaration. See below. |
| @@ -178,6 +182,15 @@ class OffscreenPresentation : protected content::WebContentsDelegate, |
| // OffscreenPresentation when the capturer count returns to zero. |
| void DieIfContentCaptureEnded(); |
| + // Unregisters this presentation from OffscreenPresentationManager and |
| + // destroys it. |
| + void Destroy(); |
| + |
| + // Gets the OffscreenPresentationManager instance associated with the |
|
miu
2015/09/27 00:22:08
To be consistent with the naming and comments in t
imcheng
2015/09/30 01:13:41
Code removed.
|
| + // presentation |
| + // controller's BrowserContext. |
| + media_router::OffscreenPresentationManager* GetOffscreenPresentationManager(); |
| + |
| OffscreenPresentationsOwner* const owner_; |
| // The starting URL for this presentation, which may or may not match the |