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

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

Issue 12089034: Add a WebUIControllerFactory in content and move chrome://webrtc-internals to content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: sync Created 7 years, 11 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
« no previous file with comments | « content/public/browser/content_browser_client.cc ('k') | content/public/common/url_constants.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/webrtc_internals.h
===================================================================
--- content/public/browser/webrtc_internals.h (revision 179290)
+++ content/public/browser/webrtc_internals.h (working copy)
@@ -1,41 +0,0 @@
-// Copyright (c) 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CONTENT_PUBLIC_BROWSER_WEBRTC_INTERNALS_H_
-#define CONTENT_PUBLIC_BROWSER_WEBRTC_INTERNALS_H_
-
-#include "base/process.h"
-
-namespace content {
-// This interface is used to receive WebRTC updates.
-// An embedder may implement it and return it from ContentBrowserClient.
-class WebRTCInternals {
- public:
- // This method is called when a PeerConnection is created.
- // |pid| is the renderer process id, |lid| is the renderer local id used to
- // identify a PeerConnection, |url| is the url of the tab owning the
- // PeerConnection, |servers| is the servers configuration, |constraints| is
- // the media constraints used to initialize the PeerConnection.
- virtual void AddPeerConnection(base::ProcessId pid,
- int lid,
- const std::string& url,
- const std::string& servers,
- const std::string& constraints) = 0;
-
- // This method is called when PeerConnection is destroyed.
- // |pid| is the renderer process id, |lid| is the renderer local id.
- virtual void RemovePeerConnection(base::ProcessId pid, int lid) = 0;
-
- // This method is called when a PeerConnection is updated.
- // |pid| is the renderer process id, |lid| is the renderer local id,
- // |type| is the update type, |value| is the detail of the update.
- virtual void UpdatePeerConnection(base::ProcessId pid,
- int lid,
- const std::string& type,
- const std::string& value) = 0;
-};
-
-} // namespace content
-
-#endif // CONTENT_PUBLIC_BROWSER_WEBRTC_INTERNALSH_
« no previous file with comments | « content/public/browser/content_browser_client.cc ('k') | content/public/common/url_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698