Chromium Code Reviews| Index: components/sync/syncable/directory_backing_store.cc |
| diff --git a/components/sync/syncable/directory_backing_store.cc b/components/sync/syncable/directory_backing_store.cc |
| index 761cd2cc8f8c1bc28b54a75d798b71daa63f73b7..f7f2ecd5eef55608351d59c036f10fcb3612fe96 100644 |
| --- a/components/sync/syncable/directory_backing_store.cc |
| +++ b/components/sync/syncable/directory_backing_store.cc |
| @@ -8,6 +8,7 @@ |
| #include <limits> |
| #include <unordered_set> |
| +#include <utility> |
| #include "base/base64.h" |
| #include "base/location.h" |
| @@ -235,7 +236,7 @@ bool SaveEntryToDB(sql::Statement* save_statement, const EntryKernel& entry) { |
| // copy for some entries which create by copy-on-write mechanism. |
| // entries_counts : entry counts for each model type. |
| void UploadModelTypeEntryCount(const int total_specifics_copies, |
| - const int(&entries_counts)[MODEL_TYPE_COUNT]) { |
|
maxbogue
2016/10/04 00:11:51
Wat. Was this previously accepting a reference to
skym
2016/10/04 15:57:35
Whoops, okay after Googling to try to better expla
maxbogue
2016/10/04 16:24:45
Ah, cool!
|
| + const int entries_counts[MODEL_TYPE_COUNT]) { |
| int total_entry_counts = 0; |
| for (int i = FIRST_REAL_MODEL_TYPE; i < MODEL_TYPE_COUNT; ++i) { |
| std::string model_type; |