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

Unified Diff: sync/sessions/sync_session_context.h

Issue 1545553003: Switch to standard integer types in sync/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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
« no previous file with comments | « sync/sessions/sync_session.h ('k') | sync/syncable/deferred_on_disk_directory_backing_store.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/sessions/sync_session_context.h
diff --git a/sync/sessions/sync_session_context.h b/sync/sessions/sync_session_context.h
index 058244cd7b68e83c81a7cc8a0bc8c6a865968ff4..008e51afbe2adc3a0148e4425f4b4d73696b7f23 100644
--- a/sync/sessions/sync_session_context.h
+++ b/sync/sessions/sync_session_context.h
@@ -15,9 +15,12 @@
#ifndef SYNC_SESSIONS_SYNC_SESSION_CONTEXT_H_
#define SYNC_SESSIONS_SYNC_SESSION_CONTEXT_H_
+#include <stdint.h>
+
#include <string>
#include <vector>
+#include "base/macros.h"
#include "sync/base/sync_export.h"
#include "sync/engine/sync_engine_event_listener.h"
#include "sync/sessions/debug_info_getter.h"
@@ -89,7 +92,7 @@ class SYNC_EXPORT SyncSessionContext {
void set_max_commit_batch_size(int batch_size) {
max_commit_batch_size_ = batch_size;
}
- int32 max_commit_batch_size() const { return max_commit_batch_size_; }
+ int32_t max_commit_batch_size() const { return max_commit_batch_size_; }
base::ObserverList<SyncEngineEventListener>* listeners() {
return &listeners_;
« no previous file with comments | « sync/sessions/sync_session.h ('k') | sync/syncable/deferred_on_disk_directory_backing_store.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698