Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(22)

Unified Diff: components/sync/syncable/directory_backing_store.cc

Issue 2389063002: [Sync] Fixing easy lint violations. (Closed)
Patch Set: Updated for Max's comments. Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..dab08717b584143c191059b645b9ca98dfe9eb8e 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]) {
+ 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;
« no previous file with comments | « components/sync/engine_impl/sync_scheduler_impl_unittest.cc ('k') | components/sync/syncable/model_neutral_mutable_entry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698