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

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

Issue 14329020: Implementing uploading of a WebRTC diagnostic log. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed two files Created 7 years, 7 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/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

Powered by Google App Engine
This is Rietveld 408576698