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 a226872008462384ac043d373f648cff462bd0c8..9740124346ffba714eeb71b7b2bfe1e08a1453ca 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/platform_file.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; |
} |
@@ -531,6 +534,14 @@ class CONTENT_EXPORT ContentBrowserClient { |
crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( |
const GURL& url); |
#endif |
+ |
+ // Gets a file handle to a file were the WebRTC log is to be stored. If the |
+ // embedder doesn't support this feature or if initalizing fails, an invalid |
+ // handle is returned. |
+ virtual base::PlatformFile CreateWebRtcLogFile(); |
+ |
+ // Asks the embedder to upload a WebRTC log file. |
+ virtual void UploadWebRtcLog(base::PlatformFile log_file) {} |
}; |
} // namespace content |