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

Side by Side Diff: sync/internal_api/public/sessions/model_neutral_state.h

Issue 1545553003: Switch to standard integer types in sync/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 unified diff | Download patch
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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 #ifndef SYNC_INTERNAL_API_PUBLIC_SESSIONS_MODEL_NEUTRAL_STATE_H_ 5 #ifndef SYNC_INTERNAL_API_PUBLIC_SESSIONS_MODEL_NEUTRAL_STATE_H_
6 #define SYNC_INTERNAL_API_PUBLIC_SESSIONS_MODEL_NEUTRAL_STATE_H_ 6 #define SYNC_INTERNAL_API_PUBLIC_SESSIONS_MODEL_NEUTRAL_STATE_H_
7 7
8 #include "base/basictypes.h"
9 #include "sync/base/sync_export.h" 8 #include "sync/base/sync_export.h"
10 #include "sync/internal_api/public/base/model_type.h" 9 #include "sync/internal_api/public/base/model_type.h"
11 #include "sync/internal_api/public/util/syncer_error.h" 10 #include "sync/internal_api/public/util/syncer_error.h"
12 #include "sync/protocol/sync.pb.h" 11 #include "sync/protocol/sync.pb.h"
13 12
14 namespace syncer { 13 namespace syncer {
15 namespace sessions { 14 namespace sessions {
16 15
17 // Grouping of all state that applies to all model types. Note that some 16 // Grouping of all state that applies to all model types. Note that some
18 // components of the global grouping can internally implement finer grained 17 // components of the global grouping can internally implement finer grained
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 // Set to true by PostCommitMessageCommand if any commits were successful. 53 // Set to true by PostCommitMessageCommand if any commits were successful.
55 bool items_committed; 54 bool items_committed;
56 }; 55 };
57 56
58 bool HasSyncerError(const ModelNeutralState& state); 57 bool HasSyncerError(const ModelNeutralState& state);
59 58
60 } // namespace sessions 59 } // namespace sessions
61 } // namespace syncer 60 } // namespace syncer
62 61
63 #endif // SYNC_INTERNAL_API_PUBLIC_SESSIONS_MODEL_NEUTRAL_STATE_H_ 62 #endif // SYNC_INTERNAL_API_PUBLIC_SESSIONS_MODEL_NEUTRAL_STATE_H_
OLDNEW
« no previous file with comments | « sync/internal_api/public/read_transaction.h ('k') | sync/internal_api/public/sessions/status_counters.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698