Update broken references to image assets
[chromium-blink-merge.git] / base / profiler / scoped_tracker.cc
blobd15b7de6dcd2d3d6763d6395f2f471b79c210092
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "base/profiler/scoped_tracker.h"
7 #include "base/bind.h"
9 namespace tracked_objects {
11 namespace {
13 ScopedProfile::Mode g_scoped_profile_mode = ScopedProfile::DISABLED;
15 } // namespace
17 // static
18 void ScopedTracker::Enable() {
19 g_scoped_profile_mode = ScopedProfile::ENABLED;
22 ScopedTracker::ScopedTracker(const Location& location)
23 : scoped_profile_(location, g_scoped_profile_mode) {
26 } // namespace tracked_objects