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

Unified Diff: chrome/browser/sync/syncable/syncable.cc

Issue 8741001: Remove sync OnTransaction{Start,End} notification (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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/syncable/syncable.cc
diff --git a/chrome/browser/sync/syncable/syncable.cc b/chrome/browser/sync/syncable/syncable.cc
index 3d691db3e6b2f2895f8439caf5009c57eb9ecd79..36922b5054a22c2a0248adc101660ac8bdf571e9 100644
--- a/chrome/browser/sync/syncable/syncable.cc
+++ b/chrome/browser/sync/syncable/syncable.cc
@@ -1195,15 +1195,9 @@ BaseTransaction::BaseTransaction(const tracked_objects::Location& from_here,
TRACE_EVENT_BEGIN2("sync", name_,
"src_file", from_here_.file_name(),
"src_func", from_here_.function_name());
- dirkernel_->transaction_observer.Call(FROM_HERE,
- &TransactionObserver::OnTransactionStart, from_here_, writer_);
}
BaseTransaction::~BaseTransaction() {
- if (writer_ != INVALID) {
- dirkernel_->transaction_observer.Call(FROM_HERE,
- &TransactionObserver::OnTransactionEnd, from_here_, writer_);
- }
TRACE_EVENT_END0("sync", name_);
}
« no previous file with comments | « chrome/browser/sync/js/js_mutation_event_observer.cc ('k') | chrome/browser/sync/syncable/transaction_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698