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

Unified Diff: chrome/browser/chrome_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: Code review, added url and app session id, rebase 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: chrome/browser/chrome_content_browser_client.h
diff --git a/chrome/browser/chrome_content_browser_client.h b/chrome/browser/chrome_content_browser_client.h
index 8cb0b839bc2f12ff90cffdc1896fbeaa41f08ef5..1d2ee35a304636871b61ef21f47758b3a6d7b4c7 100644
--- a/chrome/browser/chrome_content_browser_client.h
+++ b/chrome/browser/chrome_content_browser_client.h
@@ -256,6 +256,15 @@ class ChromeContentBrowserClient : public content::ContentBrowserClient {
const GURL& url) OVERRIDE;
#endif
+#if defined(ENABLE_WEBRTC)
+ virtual bool IsWebRtcLoggingAllowed() OVERRIDE;
+ virtual void UploadWebRtcLog(content::BrowserContext* browser_context,
+ scoped_ptr<base::SharedMemory> shared_memory,
+ uint32 length,
+ const std::string& app_session_id,
+ const std::string& app_url) OVERRIDE;
+#endif
+
private:
// Set of origins that can use TCP/UDP private APIs from NaCl.
std::set<std::string> allowed_socket_origins_;

Powered by Google App Engine
This is Rietveld 408576698