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 "base/metrics/histogram.h" | 7 #include "base/metrics/histogram.h" |
8 #include "chrome/browser/sync_file_system/drive_backend/drive_backend_constants.
h" | 8 #include "chrome/browser/sync_file_system/drive_backend/drive_backend_constants.
h" |
| 9 #include "chrome/browser/sync_file_system/drive_backend/metadata_database.h" |
9 #include "chrome/browser/sync_file_system/drive_backend/metadata_database.pb.h" | 10 #include "chrome/browser/sync_file_system/drive_backend/metadata_database.pb.h" |
10 | 11 |
11 namespace sync_file_system { | 12 namespace sync_file_system { |
12 namespace drive_backend { | 13 namespace drive_backend { |
13 | 14 |
14 ParentIDAndTitle::ParentIDAndTitle() : parent_id(0) {} | 15 ParentIDAndTitle::ParentIDAndTitle() : parent_id(0) {} |
15 ParentIDAndTitle::ParentIDAndTitle(int64 parent_id, | 16 ParentIDAndTitle::ParentIDAndTitle(int64 parent_id, |
16 const std::string& title) | 17 const std::string& title) |
17 : parent_id(parent_id), title(title) {} | 18 : parent_id(parent_id), title(title) {} |
18 | 19 |
(...skipping 481 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
500 | 501 |
501 DVLOG(3) << " Remove from dirty_trackers_: " << tracker_id; | 502 DVLOG(3) << " Remove from dirty_trackers_: " << tracker_id; |
502 dirty_trackers_.erase(tracker_id); | 503 dirty_trackers_.erase(tracker_id); |
503 | 504 |
504 demoted_dirty_trackers_.erase(tracker_id); | 505 demoted_dirty_trackers_.erase(tracker_id); |
505 } | 506 } |
506 } | 507 } |
507 | 508 |
508 } // namespace drive_backend | 509 } // namespace drive_backend |
509 } // namespace sync_file_system | 510 } // namespace sync_file_system |
OLD | NEW |