diff options
author | vadimt <vadimt@chromium.org> | 2014-10-29 15:10:41 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-10-29 22:11:04 +0000 |
commit | 09e7ebe02c71d923e4655a0ad5e151b97344f091 (patch) | |
tree | 116297765f286720af9aff161fafeca63486a1a6 /chrome/common/service_process_util_win.cc | |
parent | 2ab60d98289be5804e38ea8fdebcf78740fca095 (diff) | |
download | chromium_src-09e7ebe02c71d923e4655a0ad5e151b97344f091.zip chromium_src-09e7ebe02c71d923e4655a0ad5e151b97344f091.tar.gz chromium_src-09e7ebe02c71d923e4655a0ad5e151b97344f091.tar.bz2 |
Switching profiler instrumentations from ScopedProfile to ScopedTracker. This will disable the instrumentations in all channels except Canary, and developer build. Instrumentations are only enabled in Browser process.
This will prevent Stable from sending increased amounts of UMA logs. Also, this will let us observe "true" (untouched by instrumentations) jankiness numbers every week in Dev channel.
BUG=401560
Review URL: https://codereview.chromium.org/686963002
Cr-Commit-Position: refs/heads/master@{#301950}
Diffstat (limited to 'chrome/common/service_process_util_win.cc')
-rw-r--r-- | chrome/common/service_process_util_win.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/common/service_process_util_win.cc b/chrome/common/service_process_util_win.cc index 9e358a7..6800353 100644 --- a/chrome/common/service_process_util_win.cc +++ b/chrome/common/service_process_util_win.cc @@ -10,7 +10,7 @@ #include "base/logging.h" #include "base/memory/scoped_ptr.h" #include "base/path_service.h" -#include "base/profiler/scoped_profile.h" +#include "base/profiler/scoped_tracker.h" #include "base/strings/string16.h" #include "base/strings/utf_string_conversions.h" #include "base/win/object_watcher.h" @@ -64,8 +64,8 @@ class ServiceProcessTerminateMonitor // base::ObjectWatcher::Delegate implementation. virtual void OnObjectSignaled(HANDLE object) { - // TODO(vadimt): Remove ScopedProfile below once crbug.com/418183 is fixed. - tracked_objects::ScopedProfile tracking_profile( + // TODO(vadimt): Remove ScopedTracker below once crbug.com/418183 is fixed. + tracked_objects::ScopedTracker tracking_profile( FROM_HERE_WITH_EXPLICIT_FUNCTION( "ServiceProcessTerminateMonitor_OnObjectSignaled")); |