| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 "components/sync/syncable/on_disk_directory_backing_store.h" | 5 #include "components/sync/syncable/on_disk_directory_backing_store.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "base/metrics/histogram.h" | 8 #include "base/metrics/histogram_macros.h" |
| 9 #include "base/stl_util.h" | 9 #include "base/stl_util.h" |
| 10 #include "components/sync/syncable/syncable-inl.h" | 10 #include "components/sync/syncable/syncable-inl.h" |
| 11 | 11 |
| 12 namespace syncer { | 12 namespace syncer { |
| 13 namespace syncable { | 13 namespace syncable { |
| 14 | 14 |
| 15 namespace { | 15 namespace { |
| 16 | 16 |
| 17 enum HistogramResultEnum { | 17 enum HistogramResultEnum { |
| 18 FIRST_TRY_SUCCESS, | 18 FIRST_TRY_SUCCESS, |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 NOTREACHED() << "Crashing to preserve corrupt sync database"; | 109 NOTREACHED() << "Crashing to preserve corrupt sync database"; |
| 110 } | 110 } |
| 111 | 111 |
| 112 const base::FilePath& OnDiskDirectoryBackingStore::backing_file_path() const { | 112 const base::FilePath& OnDiskDirectoryBackingStore::backing_file_path() const { |
| 113 DCHECK(CalledOnValidThread()); | 113 DCHECK(CalledOnValidThread()); |
| 114 return backing_file_path_; | 114 return backing_file_path_; |
| 115 } | 115 } |
| 116 | 116 |
| 117 } // namespace syncable | 117 } // namespace syncable |
| 118 } // namespace syncer | 118 } // namespace syncer |
| OLD | NEW |