Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5353)

Unified Diff: chrome/browser/sync_file_system/local/canned_syncable_file_system.cc

Issue 877993003: Pass FROM_HERE to ObserverListThreadSafe::Notify to improve profile. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/sync_file_system/local/canned_syncable_file_system.cc
diff --git a/chrome/browser/sync_file_system/local/canned_syncable_file_system.cc b/chrome/browser/sync_file_system/local/canned_syncable_file_system.cc
index 2e6f1fcac4756fc2d6953b924c63f7940d922247..039f9daa5dc981f56fac8f5c27aff88937cc934f 100644
--- a/chrome/browser/sync_file_system/local/canned_syncable_file_system.cc
+++ b/chrome/browser/sync_file_system/local/canned_syncable_file_system.cc
@@ -550,13 +550,13 @@ FileSystemOperationRunner* CannedSyncableFileSystem::operation_runner() {
}
void CannedSyncableFileSystem::OnSyncEnabled(const FileSystemURL& url) {
- sync_status_observers_->Notify(&LocalFileSyncStatus::Observer::OnSyncEnabled,
- url);
+ sync_status_observers_->Notify(
+ FROM_HERE, &LocalFileSyncStatus::Observer::OnSyncEnabled, url);
}
void CannedSyncableFileSystem::OnWriteEnabled(const FileSystemURL& url) {
- sync_status_observers_->Notify(&LocalFileSyncStatus::Observer::OnWriteEnabled,
- url);
+ sync_status_observers_->Notify(
+ FROM_HERE, &LocalFileSyncStatus::Observer::OnWriteEnabled, url);
}
void CannedSyncableFileSystem::DoOpenFileSystem(

Powered by Google App Engine
This is Rietveld 408576698