| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "sync/syncable/syncable_base_transaction.h" | 5 #include "sync/syncable/syncable_base_transaction.h" |
| 6 | 6 |
| 7 #include "base/debug/trace_event.h" | 7 #include "base/trace_event/trace_event.h" |
| 8 #include "sync/syncable/directory.h" | 8 #include "sync/syncable/directory.h" |
| 9 | 9 |
| 10 namespace syncer { | 10 namespace syncer { |
| 11 namespace syncable { | 11 namespace syncable { |
| 12 | 12 |
| 13 // static | 13 // static |
| 14 Id BaseTransaction::root_id() { | 14 Id BaseTransaction::root_id() { |
| 15 return Id::GetRoot(); | 15 return Id::GetRoot(); |
| 16 } | 16 } |
| 17 | 17 |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 "src_file", from_here_.file_name(), | 70 "src_file", from_here_.file_name(), |
| 71 "src_func", from_here_.function_name()); | 71 "src_func", from_here_.function_name()); |
| 72 } | 72 } |
| 73 | 73 |
| 74 BaseTransaction::~BaseTransaction() { | 74 BaseTransaction::~BaseTransaction() { |
| 75 TRACE_EVENT_END0("sync", name_); | 75 TRACE_EVENT_END0("sync", name_); |
| 76 } | 76 } |
| 77 | 77 |
| 78 } // namespace syncable | 78 } // namespace syncable |
| 79 } // namespace syncer | 79 } // namespace syncer |
| OLD | NEW |