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

Side by Side Diff: content/browser/renderer_host/render_process_host_impl.h

Issue 1014543003: Add an IPC method for Blink to call RapporService::RecordSample() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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
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_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <queue> 9 #include <queue>
10 #include <string> 10 #include <string>
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after
308 void CreateMessageFilters(); 308 void CreateMessageFilters();
309 309
310 // Registers Mojo services to be exposed to the renderer. 310 // Registers Mojo services to be exposed to the renderer.
311 void RegisterMojoServices(); 311 void RegisterMojoServices();
312 312
313 // Control message handlers. 313 // Control message handlers.
314 void OnShutdownRequest(); 314 void OnShutdownRequest();
315 void OnDumpHandlesDone(); 315 void OnDumpHandlesDone();
316 void OnSuddenTerminationChanged(bool enabled); 316 void OnSuddenTerminationChanged(bool enabled);
317 void OnUserMetricsRecordAction(const std::string& action); 317 void OnUserMetricsRecordAction(const std::string& action);
318 void OnUserMetricsRecordRappor(
319 const std::string& metric,
320 const std::string& sample);
318 void OnSavedPageAsMHTML(int job_id, int64 mhtml_file_size); 321 void OnSavedPageAsMHTML(int job_id, int64 mhtml_file_size);
319 void OnCloseACK(int old_route_id); 322 void OnCloseACK(int old_route_id);
320 323
321 // Generates a command line to be used to spawn a renderer and appends the 324 // Generates a command line to be used to spawn a renderer and appends the
322 // results to |*command_line|. 325 // results to |*command_line|.
323 void AppendRendererCommandLine(base::CommandLine* command_line) const; 326 void AppendRendererCommandLine(base::CommandLine* command_line) const;
324 327
325 // Copies applicable command line switches from the given |browser_cmd| line 328 // Copies applicable command line switches from the given |browser_cmd| line
326 // flags to the output |renderer_cmd| line flags. Not all switches will be 329 // flags to the output |renderer_cmd| line flags. Not all switches will be
327 // copied over. 330 // copied over.
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
500 bool subscribe_uniform_enabled_; 503 bool subscribe_uniform_enabled_;
501 504
502 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; 505 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_;
503 506
504 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); 507 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl);
505 }; 508 };
506 509
507 } // namespace content 510 } // namespace content
508 511
509 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ 512 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698