| Index: chrome/service/cloud_print/print_system_win.cc
|
| diff --git a/chrome/service/cloud_print/print_system_win.cc b/chrome/service/cloud_print/print_system_win.cc
|
| index 4f9ea5048efbeb6a8282c19753b33ff705ce51e1..84d9169e81f5aed3372be0aca7c1588c53fdfd6a 100644
|
| --- a/chrome/service/cloud_print/print_system_win.cc
|
| +++ b/chrome/service/cloud_print/print_system_win.cc
|
| @@ -8,7 +8,7 @@
|
| #include "base/files/file_util.h"
|
| #include "base/json/json_writer.h"
|
| #include "base/memory/scoped_ptr.h"
|
| -#include "base/profiler/scoped_profile.h"
|
| +#include "base/profiler/scoped_tracker.h"
|
| #include "base/strings/utf_string_conversions.h"
|
| #include "base/win/object_watcher.h"
|
| #include "base/win/scoped_bstr.h"
|
| @@ -89,8 +89,8 @@ class PrintSystemWatcherWin : public base::win::ObjectWatcher::Delegate {
|
|
|
| // base::ObjectWatcher::Delegate method
|
| 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(
|
| "PrintSystemWatcherWin_OnObjectSignaled"));
|
|
|
| @@ -355,10 +355,10 @@ class JobSpoolerWin : public PrintSystem::JobSpooler {
|
|
|
| // base::win::ObjectWatcher::Delegate implementation.
|
| virtual void OnObjectSignaled(HANDLE object) override {
|
| - // TODO(vadimt): Remove ScopedProfile below once crbug.com/418183 is fixed.
|
| - tracked_objects::ScopedProfile tracking_profile(
|
| - FROM_HERE_WITH_EXPLICIT_FUNCTION(
|
| - "Core_OnObjectSignaled"));
|
| + // TODO(vadimt): Remove ScopedTracker below once crbug.com/418183 is
|
| + // fixed.
|
| + tracked_objects::ScopedTracker tracking_profile(
|
| + FROM_HERE_WITH_EXPLICIT_FUNCTION("Core_OnObjectSignaled"));
|
|
|
| DCHECK(xps_print_job_);
|
| DCHECK(object == job_progress_event_.Get());
|
|
|