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

Unified Diff: content/browser/media/capture/web_contents_capture_util.h

Issue 364123002: [Cross-Site Isolation] Migrate entire MediaStream verticals to be per-RenderFrame. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: It's random enough. + REBASE Created 6 years, 5 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: content/browser/media/capture/web_contents_capture_util.h
diff --git a/content/browser/media/capture/web_contents_capture_util.h b/content/browser/media/capture/web_contents_capture_util.h
index 5f43f423b8b7a09b805be5a4a08eec0e5802f5d1..60a9113f23d6bda0e199b6ccd6f0385f655cdec2 100644
--- a/content/browser/media/capture/web_contents_capture_util.h
+++ b/content/browser/media/capture/web_contents_capture_util.h
@@ -13,21 +13,14 @@ namespace content {
class CONTENT_EXPORT WebContentsCaptureUtil {
public:
- // Returns a new id after appending the device id scheme for virtual streams.
- static std::string AppendWebContentsDeviceScheme(
- const std::string& device_id_param);
-
- static std::string StripWebContentsDeviceScheme(
- const std::string& device_id_param);
-
// Check whether the device id indicates that this is a web contents stream.
static bool IsWebContentsDeviceId(const std::string& device_id);
- // Function to extract the target renderer id's from a tab media stream
+ // Function to extract the target render frame id's from a media stream
// request's device id.
static bool ExtractTabCaptureTarget(const std::string& device_id,
int* render_process_id,
- int* render_view_id);
+ int* main_render_frame_id);
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698