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

Side by Side Diff: trunk/src/content/public/browser/render_process_host.h

Issue 132233058: Revert 247164 "Implement browser-side logging to WebRtc log" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 10 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_PUBLIC_BROWSER_RENDER_PROCESS_HOST_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_RENDER_PROCESS_HOST_H_
6 #define CONTENT_PUBLIC_BROWSER_RENDER_PROCESS_HOST_H_ 6 #define CONTENT_PUBLIC_BROWSER_RENDER_PROCESS_HOST_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/id_map.h" 9 #include "base/id_map.h"
10 #include "base/process/kill.h" 10 #include "base/process/kill.h"
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 virtual void ResumeRequestsForView(int route_id) = 0; 208 virtual void ResumeRequestsForView(int route_id) = 0;
209 209
210 // Checks that the given renderer can request |url|, if not it sets it to 210 // Checks that the given renderer can request |url|, if not it sets it to
211 // about:blank. 211 // about:blank.
212 // |empty_allowed| must be set to false for navigations for security reasons. 212 // |empty_allowed| must be set to false for navigations for security reasons.
213 virtual void FilterURL(bool empty_allowed, GURL* url) = 0; 213 virtual void FilterURL(bool empty_allowed, GURL* url) = 0;
214 214
215 #if defined(ENABLE_WEBRTC) 215 #if defined(ENABLE_WEBRTC)
216 virtual void EnableAecDump(const base::FilePath& file) = 0; 216 virtual void EnableAecDump(const base::FilePath& file) = 0;
217 virtual void DisableAecDump() = 0; 217 virtual void DisableAecDump() = 0;
218
219 // When set, |callback| receives log messages regarding, for example. media
220 // devices (webcams, mics, etc) that were initially requested in the render
221 // process associated with this RenderProcessHost.
222 virtual void SetWebRtcLogMessageCallback(
223 base::Callback<void(const std::string&)> callback) = 0;
224 #endif 218 #endif
225 219
226 // Static management functions ----------------------------------------------- 220 // Static management functions -----------------------------------------------
227 221
228 // Flag to run the renderer in process. This is primarily 222 // Flag to run the renderer in process. This is primarily
229 // for debugging purposes. When running "in process", the 223 // for debugging purposes. When running "in process", the
230 // browser maintains a single RenderProcessHost which communicates 224 // browser maintains a single RenderProcessHost which communicates
231 // to a RenderProcess which is instantiated in the same process 225 // to a RenderProcess which is instantiated in the same process
232 // with the Browser. All IPC between the Browser and the 226 // with the Browser. All IPC between the Browser and the
233 // Renderer is the same, it's just not crossing a process boundary. 227 // Renderer is the same, it's just not crossing a process boundary.
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 // module. 271 // module.
278 static size_t GetMaxRendererProcessCount(); 272 static size_t GetMaxRendererProcessCount();
279 273
280 static void RegisterRendererMainThreadFactory( 274 static void RegisterRendererMainThreadFactory(
281 RendererMainThreadFactoryFunction create); 275 RendererMainThreadFactoryFunction create);
282 }; 276 };
283 277
284 } // namespace content. 278 } // namespace content.
285 279
286 #endif // CONTENT_PUBLIC_BROWSER_RENDER_PROCESS_HOST_H_ 280 #endif // CONTENT_PUBLIC_BROWSER_RENDER_PROCESS_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698