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

Unified Diff: content/browser/renderer_host/media/media_stream_device_settings.h

Issue 10829190: Resolve the problems where we can leak the system tray UI (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: addressed the comments and added unit tests to media_stream_device_settings_unittest Created 8 years, 4 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/renderer_host/media/media_stream_device_settings.h
diff --git a/content/browser/renderer_host/media/media_stream_device_settings.h b/content/browser/renderer_host/media/media_stream_device_settings.h
index 34592b037c987362ce8bfaec7154dc467a1eb245..b2a693d87f004b4ada12e19e8a9bd04a01a572e1 100644
--- a/content/browser/renderer_host/media/media_stream_device_settings.h
+++ b/content/browser/renderer_host/media/media_stream_device_settings.h
@@ -81,6 +81,9 @@ class CONTENT_EXPORT MediaStreamDeviceSettings {
// Posts a request to be approved/denied by UI.
void PostRequestToUi(const std::string& label);
+ // Posts a request to fake UI which is used for testing purpose.
+ void PostRequestToFakeUI(const std::string& label);
+
SettingsRequester* requester_;
SettingsRequests requests_;

Powered by Google App Engine
This is Rietveld 408576698