| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "chrome/browser/sync_file_system/drive_backend/metadata_database_index.
h" | 5 #include "chrome/browser/sync_file_system/drive_backend/metadata_database_index.
h" |
| 6 | 6 |
| 7 #include <tuple> | 7 #include <tuple> |
| 8 #include <utility> | 8 #include <utility> |
| 9 | 9 |
| 10 #include "base/memory/ptr_util.h" | 10 #include "base/memory/ptr_util.h" |
| 11 #include "base/metrics/histogram_macros.h" | 11 #include "base/metrics/histogram_macros.h" |
| 12 #include "base/stl_util.h" |
| 12 #include "base/strings/string_number_conversions.h" | 13 #include "base/strings/string_number_conversions.h" |
| 13 #include "base/strings/string_util.h" | 14 #include "base/strings/string_util.h" |
| 14 #include "base/threading/thread_restrictions.h" | 15 #include "base/threading/thread_restrictions.h" |
| 15 #include "chrome/browser/sync_file_system/drive_backend/drive_backend_constants.
h" | 16 #include "chrome/browser/sync_file_system/drive_backend/drive_backend_constants.
h" |
| 16 #include "chrome/browser/sync_file_system/drive_backend/drive_backend_util.h" | 17 #include "chrome/browser/sync_file_system/drive_backend/drive_backend_util.h" |
| 17 #include "chrome/browser/sync_file_system/drive_backend/leveldb_wrapper.h" | 18 #include "chrome/browser/sync_file_system/drive_backend/leveldb_wrapper.h" |
| 18 #include "chrome/browser/sync_file_system/drive_backend/metadata_database.h" | 19 #include "chrome/browser/sync_file_system/drive_backend/metadata_database.h" |
| 19 #include "chrome/browser/sync_file_system/drive_backend/metadata_database.pb.h" | 20 #include "chrome/browser/sync_file_system/drive_backend/metadata_database.pb.h" |
| 20 #include "chrome/browser/sync_file_system/logger.h" | 21 #include "chrome/browser/sync_file_system/logger.h" |
| 21 #include "third_party/leveldatabase/src/include/leveldb/db.h" | 22 #include "third_party/leveldatabase/src/include/leveldb/db.h" |
| (...skipping 744 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 766 | 767 |
| 767 DVLOG(3) << " Remove from dirty_trackers_: " << tracker_id; | 768 DVLOG(3) << " Remove from dirty_trackers_: " << tracker_id; |
| 768 dirty_trackers_.erase(tracker_id); | 769 dirty_trackers_.erase(tracker_id); |
| 769 | 770 |
| 770 demoted_dirty_trackers_.erase(tracker_id); | 771 demoted_dirty_trackers_.erase(tracker_id); |
| 771 } | 772 } |
| 772 } | 773 } |
| 773 | 774 |
| 774 } // namespace drive_backend | 775 } // namespace drive_backend |
| 775 } // namespace sync_file_system | 776 } // namespace sync_file_system |
| OLD | NEW |