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 1560c1f65aeea3ed165f9e55a14ef6e9e7e40d38..390f6bae03b58917b089f296d885dd18a34d9e68 100644 |
--- a/content/public/browser/content_browser_client.h |
+++ b/content/public/browser/content_browser_client.h |
@@ -14,6 +14,7 @@ |
#include "base/memory/linked_ptr.h" |
#include "base/memory/scoped_ptr.h" |
#include "base/memory/scoped_vector.h" |
+#include "base/shared_memory.h" |
#include "content/public/browser/file_descriptor_info.h" |
#include "content/public/common/content_client.h" |
#include "content/public/common/socket_permission_request.h" |
@@ -34,7 +35,9 @@ struct WebPreferences; |
namespace base { |
class FilePath; |
+class SharedMemory; |
} |
+ |
namespace crypto { |
class CryptoModuleBlockingPasswordDelegate; |
} |
@@ -553,6 +556,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 simultaneous logs is reached already. |
+ virtual bool IsWebRtcLoggingAllowed(); |
+ |
+ // Tells the embedder to upload a WebRTC log file. |
+ virtual void UploadWebRtcLog(scoped_ptr<base::SharedMemory> shared_memory, |
+ uint32 length) {} |
}; |
} // namespace content |