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

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

Issue 212403002: Add UMA stats for SharedWorker in RenderProcessHostImpl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
« no previous file with comments | « no previous file | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_BROWSER_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 413 matching lines...) Expand 10 before | Expand all | Expand 10 after
424 424
425 #if defined(ENABLE_WEBRTC) 425 #if defined(ENABLE_WEBRTC)
426 base::Callback<void(const std::string&)> webrtc_log_message_callback_; 426 base::Callback<void(const std::string&)> webrtc_log_message_callback_;
427 #endif 427 #endif
428 428
429 // Message filter and dispatcher for screen orientation. 429 // Message filter and dispatcher for screen orientation.
430 ScreenOrientationDispatcherHost* screen_orientation_dispatcher_host_; 430 ScreenOrientationDispatcherHost* screen_orientation_dispatcher_host_;
431 431
432 int worker_ref_count_; 432 int worker_ref_count_;
433 433
434 // Records the time when the process starts surviving for workers for UMA.
435 base::TimeTicks survive_for_worker_start_time_;
436
434 #if defined(USE_MOJO) 437 #if defined(USE_MOJO)
435 scoped_ptr<MojoChannelInit> mojo_channel_init_; 438 scoped_ptr<MojoChannelInit> mojo_channel_init_;
436 #endif 439 #endif
437 440
438 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; 441 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_;
439 442
440 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); 443 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl);
441 }; 444 };
442 445
443 } // namespace content 446 } // namespace content
444 447
445 #endif // CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ 448 #endif // CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698