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

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

Issue 1503563004: Desktop chrome tab capture-chooseDesktopMedia() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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: 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
deleted file mode 100644
index 235504a89bb9adf27f89ad47fb694c3755ba8893..0000000000000000000000000000000000000000
--- a/content/browser/media/capture/web_contents_capture_util.h
+++ /dev/null
@@ -1,32 +0,0 @@
-// Copyright (c) 2012 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 CONTENT_BROWSER_MEDIA_CAPTURE_WEB_CONTENTS_CAPTURE_UTIL_H_
-#define CONTENT_BROWSER_MEDIA_CAPTURE_WEB_CONTENTS_CAPTURE_UTIL_H_
-
-#include <string>
-
-#include "content/common/content_export.h"
-
-namespace content {
-
-class CONTENT_EXPORT WebContentsCaptureUtil {
- public:
- // 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 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* main_render_frame_id);
-
- // Parses the media stream request |device_id| and returns true if both 1) the
- // format is valid, and 2) the throttling option is set to auto.
- static bool IsAutoThrottlingOptionSet(const std::string& device_id);
-};
-
-} // namespace content
-
-#endif // CONTENT_BROWSER_MEDIA_CAPTURE_WEB_CONTENTS_CAPTURE_UTIL_H_

Powered by Google App Engine
This is Rietveld 408576698