Index: content/public/browser/content_browser_client.h |
diff --git a/content/public/browser/content_browser_client.h b/content/public/browser/content_browser_client.h |
index c7fe00095eb69e338bc575553d6f6db1e7fd65a2..fe72fffcb46d194fcb5bf1990a231732e7e4e9fa 100644 |
--- a/content/public/browser/content_browser_client.h |
+++ b/content/public/browser/content_browser_client.h |
@@ -34,7 +34,9 @@ struct WebPreferences; |
namespace base { |
class FilePath; |
+class SharedMemory; |
} |
+ |
namespace crypto { |
class CryptoModuleBlockingPasswordDelegate; |
} |
@@ -547,6 +549,15 @@ class CONTENT_EXPORT ContentBrowserClient { |
crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( |
const GURL& url); |
#endif |
+ |
+ // Returns whether WebRTC logging is allowed or not. It can return false for |
+ // example if not supported, if any initialization fails or if maximum number |
+ // of simultaneos logs is reached already. |
+ virtual bool IsWebRtcLoggingAllowed(); |
+ |
+ // Tells the embedder to upload a WebRTC log file. |
+ virtual void UploadWebRtcLog(base::SharedMemory* shared_memory, |
+ uint32 length) {} |
}; |
} // namespace content |