diff options
author | fgorski <fgorski@chromium.org> | 2015-07-22 07:29:52 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-07-22 14:30:40 +0000 |
commit | 6cc8334b9faf186f4c50035dbf8253b91a58756c (patch) | |
tree | 46dce660bed95b4067d7709dfa34571b159792d6 /components/offline_pages/offline_page_model.h | |
parent | 1c2885ba6a8783aaabd86e36045e21743aecca7b (diff) | |
download | chromium_src-6cc8334b9faf186f4c50035dbf8253b91a58756c.zip chromium_src-6cc8334b9faf186f4c50035dbf8253b91a58756c.tar.gz chromium_src-6cc8334b9faf186f4c50035dbf8253b91a58756c.tar.bz2 |
[Offline pages] Generation of enums for the OfflinePageModel actions
BUG=491352
R=nyquist@chromium.org
Review URL: https://codereview.chromium.org/1250473009
Cr-Commit-Position: refs/heads/master@{#339876}
Diffstat (limited to 'components/offline_pages/offline_page_model.h')
-rw-r--r-- | components/offline_pages/offline_page_model.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/components/offline_pages/offline_page_model.h b/components/offline_pages/offline_page_model.h index f24d8f8..c42feb4 100644 --- a/components/offline_pages/offline_page_model.h +++ b/components/offline_pages/offline_page_model.h @@ -50,6 +50,8 @@ class OfflinePageMetadataStore; class OfflinePageModel : public KeyedService { public: // Result of saving a page offline. + // A Java counterpart will be generated for this enum. + // GENERATED_JAVA_ENUM_PACKAGE: org.chromium.components.offline_pages enum class SavePageResult { SUCCESS, CANCELLED, @@ -61,6 +63,8 @@ class OfflinePageModel : public KeyedService { }; // Result of deleting an offline page. + // A Java counterpart will be generated for this enum. + // GENERATED_JAVA_ENUM_PACKAGE: org.chromium.components.offline_pages enum class DeletePageResult { SUCCESS, CANCELLED, @@ -70,6 +74,8 @@ class OfflinePageModel : public KeyedService { }; // Result of loading all pages. + // A Java counterpart will be generated for this enum. + // GENERATED_JAVA_ENUM_PACKAGE: org.chromium.components.offline_pages enum class LoadResult { SUCCESS, CANCELLED, |