diff options
Diffstat (limited to 'chrome/browser')
8 files changed, 24 insertions, 24 deletions
diff --git a/chrome/browser/chromeos/drive/local_file_reader.cc b/chrome/browser/chromeos/drive/local_file_reader.cc index c29820b..6a9fe94 100644 --- a/chrome/browser/chromeos/drive/local_file_reader.cc +++ b/chrome/browser/chromeos/drive/local_file_reader.cc @@ -6,7 +6,7 @@ #include "base/bind.h" #include "base/files/file_path.h" -#include "base/profiler/scoped_profile.h" +#include "base/profiler/scoped_tracker.h" #include "base/sequenced_task_runner.h" #include "net/base/completion_callback.h" #include "net/base/io_buffer.h" @@ -50,8 +50,8 @@ void LocalFileReader::Read(net::IOBuffer* in_buffer, void LocalFileReader::DidOpen(const net::CompletionCallback& callback, int64 offset, int error) { - // TODO(vadimt): Remove ScopedProfile below once crbug.com/423948 is fixed. - tracked_objects::ScopedProfile tracking_profile( + // TODO(vadimt): Remove ScopedTracker below once crbug.com/423948 is fixed. + tracked_objects::ScopedTracker tracking_profile( FROM_HERE_WITH_EXPLICIT_FUNCTION("423948 LocalFileReader::DidOpen")); if (error != net::OK) diff --git a/chrome/browser/extensions/chrome_url_request_util.cc b/chrome/browser/extensions/chrome_url_request_util.cc index b2455a3..7fdb70b 100644 --- a/chrome/browser/extensions/chrome_url_request_util.cc +++ b/chrome/browser/extensions/chrome_url_request_util.cc @@ -9,7 +9,7 @@ #include "base/files/file_path.h" #include "base/memory/weak_ptr.h" #include "base/path_service.h" -#include "base/profiler/scoped_profile.h" +#include "base/profiler/scoped_tracker.h" #include "base/strings/string_number_conversions.h" #include "base/strings/string_util.h" #include "base/strings/stringprintf.h" @@ -63,8 +63,8 @@ class URLRequestResourceBundleJob : public net::URLRequestSimpleJob { std::string* charset, std::string* data, const net::CompletionCallback& callback) const override { - // TODO(vadimt): Remove ScopedProfile below once crbug.com/422489 is fixed. - tracked_objects::ScopedProfile tracking_profile( + // TODO(vadimt): Remove ScopedTracker below once crbug.com/422489 is fixed. + tracked_objects::ScopedTracker tracking_profile( FROM_HERE_WITH_EXPLICIT_FUNCTION( "422489 URLRequestResourceBundleJob::GetData")); diff --git a/chrome/browser/intranet_redirect_detector.cc b/chrome/browser/intranet_redirect_detector.cc index 02c1573..5b2c278 100644 --- a/chrome/browser/intranet_redirect_detector.cc +++ b/chrome/browser/intranet_redirect_detector.cc @@ -8,7 +8,7 @@ #include "base/command_line.h" #include "base/prefs/pref_registry_simple.h" #include "base/prefs/pref_service.h" -#include "base/profiler/scoped_profile.h" +#include "base/profiler/scoped_tracker.h" #include "base/rand_util.h" #include "base/stl_util.h" #include "base/strings/utf_string_conversions.h" @@ -95,8 +95,8 @@ void IntranetRedirectDetector::FinishSleep() { void IntranetRedirectDetector::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 IntranetRedirectDetector::OnURLFetchComplete")); diff --git a/chrome/browser/password_manager/password_store_win.cc b/chrome/browser/password_manager/password_store_win.cc index 7ff08bf..08af256 100644 --- a/chrome/browser/password_manager/password_store_win.cc +++ b/chrome/browser/password_manager/password_store_win.cc @@ -9,7 +9,7 @@ #include "base/bind.h" #include "base/logging.h" #include "base/memory/scoped_ptr.h" -#include "base/profiler/scoped_profile.h" +#include "base/profiler/scoped_tracker.h" #include "base/strings/string_util.h" #include "base/strings/utf_string_conversions.h" #include "components/os_crypt/ie7_password_win.h" @@ -143,8 +143,8 @@ std::vector<PasswordForm*> PasswordStoreWin::DBHandler::GetIE7Results( void PasswordStoreWin::DBHandler::OnWebDataServiceRequestDone( PasswordWebDataService::Handle handle, const WDTypedResult* result) { - // TODO(vadimt): Remove ScopedProfile below once crbug.com/422460 is fixed. - tracked_objects::ScopedProfile tracking_profile( + // TODO(vadimt): Remove ScopedTracker below once crbug.com/422460 is fixed. + tracked_objects::ScopedTracker tracking_profile( FROM_HERE_WITH_EXPLICIT_FUNCTION( "422460 PasswordStoreWin::DBHandler::OnWebDataServiceRequestDone")); diff --git a/chrome/browser/policy/cloud/user_policy_signin_service.cc b/chrome/browser/policy/cloud/user_policy_signin_service.cc index a4c3812..5d27709 100644 --- a/chrome/browser/policy/cloud/user_policy_signin_service.cc +++ b/chrome/browser/policy/cloud/user_policy_signin_service.cc @@ -7,7 +7,7 @@ #include "base/bind.h" #include "base/bind_helpers.h" #include "base/callback.h" -#include "base/profiler/scoped_profile.h" +#include "base/profiler/scoped_tracker.h" #include "chrome/browser/browser_process.h" #include "chrome/browser/chrome_notification_types.h" #include "chrome/browser/profiles/profile.h" @@ -108,8 +108,8 @@ void UserPolicySigninService::CallPolicyRegistrationCallback( void UserPolicySigninService::OnRefreshTokenAvailable( const std::string& account_id) { - // TODO(vadimt): Remove ScopedProfile below once crbug.com/422460 is fixed. - tracked_objects::ScopedProfile tracking_profile( + // TODO(vadimt): Remove ScopedTracker below once crbug.com/422460 is fixed. + tracked_objects::ScopedTracker tracking_profile( FROM_HERE_WITH_EXPLICIT_FUNCTION( "422460 UserPolicySigninService::OnRefreshTokenAvailable")); diff --git a/chrome/browser/safe_browsing/client_side_detection_service.cc b/chrome/browser/safe_browsing/client_side_detection_service.cc index 485d20b..2457147 100644 --- a/chrome/browser/safe_browsing/client_side_detection_service.cc +++ b/chrome/browser/safe_browsing/client_side_detection_service.cc @@ -14,7 +14,7 @@ #include "base/metrics/histogram.h" #include "base/metrics/sparse_histogram.h" #include "base/prefs/pref_service.h" -#include "base/profiler/scoped_profile.h" +#include "base/profiler/scoped_tracker.h" #include "base/stl_util.h" #include "base/strings/string_util.h" #include "base/time/time.h" @@ -199,8 +199,8 @@ bool ClientSideDetectionService::IsPrivateIPAddress( void ClientSideDetectionService::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 ClientSideDetectionService::OnURLFetchComplete")); diff --git a/chrome/browser/safe_browsing/protocol_manager.cc b/chrome/browser/safe_browsing/protocol_manager.cc index 7a39760..ce9cae8 100644 --- a/chrome/browser/safe_browsing/protocol_manager.cc +++ b/chrome/browser/safe_browsing/protocol_manager.cc @@ -8,7 +8,7 @@ #include "base/logging.h" #include "base/memory/scoped_vector.h" #include "base/metrics/histogram.h" -#include "base/profiler/scoped_profile.h" +#include "base/profiler/scoped_tracker.h" #include "base/rand_util.h" #include "base/stl_util.h" #include "base/strings/string_util.h" @@ -227,8 +227,8 @@ void SafeBrowsingProtocolManager::GetNextUpdate() { // required, the SafeBrowsing servers will tell us to get it again. void SafeBrowsingProtocolManager::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 SafeBrowsingProtocolManager::OnURLFetchComplete")); diff --git a/chrome/browser/sync/profile_sync_service.cc b/chrome/browser/sync/profile_sync_service.cc index 7270d34..2effb5d 100644 --- a/chrome/browser/sync/profile_sync_service.cc +++ b/chrome/browser/sync/profile_sync_service.cc @@ -19,7 +19,7 @@ #include "base/memory/ref_counted.h" #include "base/message_loop/message_loop.h" #include "base/metrics/histogram.h" -#include "base/profiler/scoped_profile.h" +#include "base/profiler/scoped_tracker.h" #include "base/strings/string16.h" #include "base/strings/stringprintf.h" #include "base/threading/thread_restrictions.h" @@ -755,8 +755,8 @@ void ProfileSyncService::OnGetTokenFailure( void ProfileSyncService::OnRefreshTokenAvailable( const std::string& account_id) { - // TODO(vadimt): Remove ScopedProfile below once crbug.com/422460 is fixed. - tracked_objects::ScopedProfile tracking_profile( + // TODO(vadimt): Remove ScopedTracker below once crbug.com/422460 is fixed. + tracked_objects::ScopedTracker tracking_profile( FROM_HERE_WITH_EXPLICIT_FUNCTION( "422460 ProfileSyncService::OnRefreshTokenAvailable")); |