summaryrefslogtreecommitdiffstats
path: root/extensions/browser/updater
diff options
context:
space:
mode:
authorvadimt <vadimt@chromium.org>2014-10-29 15:10:41 -0700
committerCommit bot <commit-bot@chromium.org>2014-10-29 22:11:04 +0000
commit09e7ebe02c71d923e4655a0ad5e151b97344f091 (patch)
tree116297765f286720af9aff161fafeca63486a1a6 /extensions/browser/updater
parent2ab60d98289be5804e38ea8fdebcf78740fca095 (diff)
downloadchromium_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 'extensions/browser/updater')
-rw-r--r--extensions/browser/updater/extension_downloader.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/extensions/browser/updater/extension_downloader.cc b/extensions/browser/updater/extension_downloader.cc
index 8021944..a472758 100644
--- a/extensions/browser/updater/extension_downloader.cc
+++ b/extensions/browser/updater/extension_downloader.cc
@@ -13,7 +13,7 @@
#include "base/logging.h"
#include "base/metrics/histogram.h"
#include "base/metrics/sparse_histogram.h"
-#include "base/profiler/scoped_profile.h"
+#include "base/profiler/scoped_tracker.h"
#include "base/stl_util.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/string_util.h"
@@ -492,8 +492,8 @@ void ExtensionDownloader::CreateManifestFetcher() {
}
void ExtensionDownloader::OnURLFetchComplete(const net::URLFetcher* source) {
- // TODO(vadimt): Remove ScopedProfile below once crbug.com/422577 is fixed.
- tracked_objects::ScopedProfile tracking_profile(
+ // TODO(vadimt): Remove ScopedTracker below once crbug.com/422577 is fixed.
+ tracked_objects::ScopedTracker tracking_profile(
FROM_HERE_WITH_EXPLICIT_FUNCTION(
"422577 ExtensionDownloader::OnURLFetchComplete"));