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

Unified Diff: content/public/browser/media_device_id.h

Issue 2424163004: Factor out authorization from AudioRendererHost. (Closed)
Patch Set: const& Created 4 years, 1 month 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/public/browser/media_device_id.h
diff --git a/content/public/browser/media_device_id.h b/content/public/browser/media_device_id.h
index a08320ca2721d78fe2057c5c9be886975a8b8914..aca3cd1c4e816c643be415ab03e5dd5c88f5b750 100644
--- a/content/public/browser/media_device_id.h
+++ b/content/public/browser/media_device_id.h
@@ -40,6 +40,8 @@ CONTENT_EXPORT bool GetMediaDeviceIDForHMAC(MediaStreamType stream_type,
const std::string& source_id,
std::string* device_id);
+CONTENT_EXPORT bool IsValidDeviceId(const std::string& device_id);
+
} // namespace content
#endif // CONTENT_PUBLIC_BROWSER_MEDIA_DEVICE_ID_H_
« no previous file with comments | « content/browser/renderer_host/media/audio_renderer_host_unittest.cc ('k') | content/public/browser/media_device_id.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698