Index: webrtc/modules/desktop_capture/win/dxgi_adapter_duplicator.h |
diff --git a/webrtc/modules/desktop_capture/win/dxgi_adapter_duplicator.h b/webrtc/modules/desktop_capture/win/dxgi_adapter_duplicator.h |
index cf33353f2288cc7a93294b7684e79bbe6569ed52..0fa51ac920e15977151eb70a0738c5e33af1ef98 100644 |
--- a/webrtc/modules/desktop_capture/win/dxgi_adapter_duplicator.h |
+++ b/webrtc/modules/desktop_capture/win/dxgi_adapter_duplicator.h |
@@ -59,6 +59,10 @@ class DxgiAdapterDuplicator { |
// should be between [0, screen_count()). |
DesktopRect ScreenRect(int id) const; |
+ // Returns the device name of one screen owned by this DxgiAdapterDuplicator |
+ // in utf8 encoding. |id| should be between [0, screen_count()). |
+ const std::string& GetDeviceName(int id) const; |
+ |
// Returns the count of screens owned by this DxgiAdapterDuplicator. These |
// screens can be retrieved by an interger in the range of |
// [0, screen_count()). |