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

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

Issue 140843007: Implement browser-side logging to WebRtc log (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 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 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 virtual void SetWebRtcLogMessageCallback(
jam 2014/01/17 05:47:44 nit: add comment
vrk (LEFT CHROMIUM) 2014/01/22 02:25:42 Done.
220 base::Callback<void(const std::string&)> callback) = 0;
221 virtual void WebRtcLogMessage(const std::string& message) = 0;
jam 2014/01/17 05:47:44 this is only called from inside content, so it sho
vrk (LEFT CHROMIUM) 2014/01/22 02:25:42 Done.
218 #endif 222 #endif
219 223
220 // Static management functions ----------------------------------------------- 224 // Static management functions -----------------------------------------------
221 225
222 // Flag to run the renderer in process. This is primarily 226 // Flag to run the renderer in process. This is primarily
223 // for debugging purposes. When running "in process", the 227 // for debugging purposes. When running "in process", the
224 // browser maintains a single RenderProcessHost which communicates 228 // browser maintains a single RenderProcessHost which communicates
225 // to a RenderProcess which is instantiated in the same process 229 // to a RenderProcess which is instantiated in the same process
226 // with the Browser. All IPC between the Browser and the 230 // with the Browser. All IPC between the Browser and the
227 // Renderer is the same, it's just not crossing a process boundary. 231 // Renderer is the same, it's just not crossing a process boundary.
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 // module. 275 // module.
272 static size_t GetMaxRendererProcessCount(); 276 static size_t GetMaxRendererProcessCount();
273 277
274 static void RegisterRendererMainThreadFactory( 278 static void RegisterRendererMainThreadFactory(
275 RendererMainThreadFactoryFunction create); 279 RendererMainThreadFactoryFunction create);
276 }; 280 };
277 281
278 } // namespace content. 282 } // namespace content.
279 283
280 #endif // CONTENT_PUBLIC_BROWSER_RENDER_PROCESS_HOST_H_ 284 #endif // CONTENT_PUBLIC_BROWSER_RENDER_PROCESS_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698