diff options
author | maxbogue <maxbogue@chromium.org> | 2015-08-06 18:46:24 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-08-07 01:47:09 +0000 |
commit | a909f56705b64f3cd067fdba76225b330f8bca48 (patch) | |
tree | 1044f89a803382fea2b341cd26edb418ee340242 /sync/internal_api | |
parent | 77ea8edc1ca575aef9aefcedb6570ca95df74d16 (diff) | |
download | chromium_src-a909f56705b64f3cd067fdba76225b330f8bca48.zip chromium_src-a909f56705b64f3cd067fdba76225b330f8bca48.tar.gz chromium_src-a909f56705b64f3cd067fdba76225b330f8bca48.tar.bz2 |
[Sync] Add auto-generated ModelType in Java.
The new ModelType is just represented by integer constants.
ModelTypeHelper uses JNI to convert the constants to strings
for the invalidation code and will replace the logic in the old ModelType.
BUG=509788
Review URL: https://codereview.chromium.org/1247853007
Cr-Commit-Position: refs/heads/master@{#342260}
Diffstat (limited to 'sync/internal_api')
-rw-r--r-- | sync/internal_api/public/base/model_type.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sync/internal_api/public/base/model_type.h b/sync/internal_api/public/base/model_type.h index 718100f..383135b 100644 --- a/sync/internal_api/public/base/model_type.h +++ b/sync/internal_api/public/base/model_type.h @@ -34,6 +34,8 @@ namespace syncer { // TODO(akalin): Move the non-exported functions in this file to a // private header. +// A Java counterpart will be generated for this enum. +// GENERATED_JAVA_ENUM_PACKAGE: org.chromium.sync enum ModelType { // Object type unknown. Objects may transition through // the unknown state during their initial creation, before |