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

Issue 10907151: Extensions Docs Server: Enum values do not show up if enum is a type (Closed)

Created:
8 years, 3 months ago by cduvall
Modified:
8 years, 3 months ago
CC:
chromium-reviews, pam+watch_chromium.org, falken, Aaron Boodman
Visibility:
Public.

Description

Extensions Docs Server: Enum values do not show up if enum is a type If an enumerated string is a type, the possible values were not shown. BUG=146301 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=158475

Patch Set 1 #

Total comments: 5

Patch Set 2 : #

Patch Set 3 : schema compiler enum fix #

Total comments: 5

Patch Set 4 : some cc changes #

Patch Set 5 : please compile #

Patch Set 6 : more fixes #

Patch Set 7 : add back braces #

Total comments: 39

Patch Set 8 : ToString and FromString #

Total comments: 10

Patch Set 9 : fixes #

Patch Set 10 : chromeos fix #

Patch Set 11 : rtcPrivate fix #

Total comments: 6

Patch Set 12 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+255 lines, -204 lines) Patch
M chrome/browser/extensions/api/context_menu/context_menu_api.cc View 1 2 3 4 5 6 7 3 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/downloads/downloads_api.cc View 1 2 3 4 5 6 7 2 chunks +13 lines, -8 lines 0 comments Download
M chrome/browser/extensions/api/downloads/downloads_api_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -8 lines 0 comments Download
M chrome/browser/extensions/api/font_settings/font_settings_api.cc View 1 2 3 4 5 6 7 8 4 chunks +12 lines, -6 lines 0 comments Download
M chrome/browser/extensions/api/media_galleries/media_galleries_api.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +26 lines, -16 lines 0 comments Download
M chrome/browser/extensions/api/rtc_private/rtc_private_api.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +8 lines, -15 lines 0 comments Download
M chrome/browser/extensions/api/socket/socket_api.cc View 1 2 3 4 5 6 7 8 3 chunks +15 lines, -22 lines 0 comments Download
M chrome/browser/extensions/api/socket/socket_api_unittest.cc View 1 2 3 4 5 1 chunk +0 lines, -5 lines 0 comments Download
M chrome/browser/extensions/api/socket/socket_apitest.cc View 1 2 3 4 5 1 chunk +0 lines, -16 lines 0 comments Download
M chrome/browser/extensions/api/system_info_storage/storage_info_provider_mac.cc View 1 2 3 4 5 6 7 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/extensions/api/system_info_storage/storage_info_provider_win.cc View 1 2 3 4 5 6 7 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/extensions/api/system_info_storage/system_info_storage_apitest.cc View 1 2 3 4 5 6 7 1 chunk +2 lines, -1 line 0 comments Download
M tools/json_schema_compiler/cc_generator.py View 1 2 3 4 5 6 7 8 10 chunks +119 lines, -71 lines 0 comments Download
M tools/json_schema_compiler/cpp_type_generator.py View 1 2 3 4 5 6 7 4 chunks +7 lines, -10 lines 0 comments Download
M tools/json_schema_compiler/cpp_type_generator_test.py View 1 2 chunks +3 lines, -2 lines 0 comments Download
M tools/json_schema_compiler/h_generator.py View 1 2 3 4 5 6 7 8 3 chunks +15 lines, -5 lines 0 comments Download
M tools/json_schema_compiler/model.py View 1 2 3 4 5 6 7 2 chunks +3 lines, -2 lines 0 comments Download
M tools/json_schema_compiler/test/dependency_tester.json View 1 1 chunk +1 line, -1 line 0 comments Download
M tools/json_schema_compiler/test/enums.json View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M tools/json_schema_compiler/test/enums_unittest.cc View 1 2 3 4 5 6 7 1 chunk +2 lines, -2 lines 0 comments Download
M tools/json_schema_compiler/test/font_settings.json View 1 5 chunks +6 lines, -11 lines 0 comments Download
M tools/json_schema_compiler/util.h View 1 2 3 4 5 6 7 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 32 (0 generated)
cduvall
8 years, 3 months ago (2012-09-10 18:23:45 UTC) #1
not at google - send to devlin
http://codereview.chromium.org/10907151/diff/1/tools/json_schema_compiler/cpp_type_generator.py File tools/json_schema_compiler/cpp_type_generator.py (right): http://codereview.chromium.org/10907151/diff/1/tools/json_schema_compiler/cpp_type_generator.py#newcode212 tools/json_schema_compiler/cpp_type_generator.py:212: key=lambda ns: ns.name): incremental cleanup: this can be operator.attrgetter ...
8 years, 3 months ago (2012-09-11 01:14:10 UTC) #2
cduvall
https://chromiumcodereview.appspot.com/10907151/diff/1/tools/json_schema_compiler/cpp_type_generator.py File tools/json_schema_compiler/cpp_type_generator.py (right): https://chromiumcodereview.appspot.com/10907151/diff/1/tools/json_schema_compiler/cpp_type_generator.py#newcode212 tools/json_schema_compiler/cpp_type_generator.py:212: key=lambda ns: ns.name): On 2012/09/11 01:14:10, kalman wrote: > ...
8 years, 3 months ago (2012-09-11 19:23:46 UTC) #3
not at google - send to devlin
lgtm https://chromiumcodereview.appspot.com/10907151/diff/1/tools/json_schema_compiler/test/font_settings.json File tools/json_schema_compiler/test/font_settings.json (left): https://chromiumcodereview.appspot.com/10907151/diff/1/tools/json_schema_compiler/test/font_settings.json#oldcode31 tools/json_schema_compiler/test/font_settings.json:31: ], On 2012/09/11 19:23:46, cduvall wrote: > On ...
8 years, 3 months ago (2012-09-11 21:55:12 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/cduvall@chromium.org/10907151/5001
8 years, 3 months ago (2012-09-11 21:59:41 UTC) #5
commit-bot: I haz the power
Try job failure for 10907151-5001 (retry) on mac for step "compile" (clobber build). It's a ...
8 years, 3 months ago (2012-09-11 22:16:27 UTC) #6
not at google - send to devlin
https://chromiumcodereview.appspot.com/10907151/diff/9003/tools/json_schema_compiler/cc_generator.py File tools/json_schema_compiler/cc_generator.py (right): https://chromiumcodereview.appspot.com/10907151/diff/9003/tools/json_schema_compiler/cc_generator.py#newcode753 tools/json_schema_compiler/cc_generator.py:753: .Append(' NOTREACHED();') is this necessary?
8 years, 3 months ago (2012-09-11 23:07:43 UTC) #7
cduvall
I'm going to have to work on this a little more, it's having compile problems ...
8 years, 3 months ago (2012-09-11 23:10:38 UTC) #8
not at google - send to devlin
https://chromiumcodereview.appspot.com/10907151/diff/9003/tools/json_schema_compiler/cc_generator.py File tools/json_schema_compiler/cc_generator.py (right): https://chromiumcodereview.appspot.com/10907151/diff/9003/tools/json_schema_compiler/cc_generator.py#newcode753 tools/json_schema_compiler/cc_generator.py:753: .Append(' NOTREACHED();') On 2012/09/11 23:10:38, cduvall wrote: > On ...
8 years, 3 months ago (2012-09-11 23:14:09 UTC) #9
cduvall
https://chromiumcodereview.appspot.com/10907151/diff/9003/tools/json_schema_compiler/cc_generator.py File tools/json_schema_compiler/cc_generator.py (right): https://chromiumcodereview.appspot.com/10907151/diff/9003/tools/json_schema_compiler/cc_generator.py#newcode753 tools/json_schema_compiler/cc_generator.py:753: .Append(' NOTREACHED();') On 2012/09/11 23:14:09, kalman wrote: > On ...
8 years, 3 months ago (2012-09-11 23:18:28 UTC) #10
not at google - send to devlin
https://chromiumcodereview.appspot.com/10907151/diff/9003/tools/json_schema_compiler/cc_generator.py File tools/json_schema_compiler/cc_generator.py (right): https://chromiumcodereview.appspot.com/10907151/diff/9003/tools/json_schema_compiler/cc_generator.py#newcode753 tools/json_schema_compiler/cc_generator.py:753: .Append(' NOTREACHED();') On 2012/09/11 23:18:28, cduvall wrote: > On ...
8 years, 3 months ago (2012-09-11 23:19:52 UTC) #11
cduvall
Now it should compile, running the trybots to make sure it actually works.
8 years, 3 months ago (2012-09-12 00:56:40 UTC) #12
cduvall
benjhayden: downloads API miket: socket API kalman: everything else I deleted some tests because they ...
8 years, 3 months ago (2012-09-13 23:10:14 UTC) #13
miket_OOO
Socket LGTM, and thanks.
8 years, 3 months ago (2012-09-13 23:19:09 UTC) #14
not at google - send to devlin
this is turning into a bit of an epic. but looking forward to it. http://codereview.chromium.org/10907151/diff/11006/chrome/browser/extensions/api/context_menu/context_menu_api.cc ...
8 years, 3 months ago (2012-09-14 01:44:51 UTC) #15
benjhayden
LGTM, one nit, and I'd also like to see the ToString() method that kalman suggested ...
8 years, 3 months ago (2012-09-14 13:17:48 UTC) #16
cduvall
http://codereview.chromium.org/10907151/diff/11006/chrome/browser/extensions/api/context_menu/context_menu_api.cc File chrome/browser/extensions/api/context_menu/context_menu_api.cc (right): http://codereview.chromium.org/10907151/diff/11006/chrome/browser/extensions/api/context_menu/context_menu_api.cc#newcode79 chrome/browser/extensions/api/context_menu/context_menu_api.cc:79: NOTREACHED(); On 2012/09/14 01:44:51, kalman wrote: > the problem ...
8 years, 3 months ago (2012-09-17 22:07:45 UTC) #17
not at google - send to devlin
just one more.... p.s. note to self: update c/b/e/settings/settings_storage_quota_enforcer.cc to use ToString. http://codereview.chromium.org/10907151/diff/74/chrome/browser/extensions/api/socket/socket_api.cc File chrome/browser/extensions/api/socket/socket_api.cc ...
8 years, 3 months ago (2012-09-18 03:55:20 UTC) #18
not at google - send to devlin
just one more.... p.s. note to self: update c/b/e/settings/settings_storage_quota_enforcer.cc to use ToString.
8 years, 3 months ago (2012-09-18 03:55:20 UTC) #19
cduvall
https://codereview.chromium.org/10907151/diff/74/chrome/browser/extensions/api/socket/socket_api.cc File chrome/browser/extensions/api/socket/socket_api.cc (right): https://codereview.chromium.org/10907151/diff/74/chrome/browser/extensions/api/socket/socket_api.cc#newcode125 chrome/browser/extensions/api/socket/socket_api.cc:125: type = kUnknown; On 2012/09/18 03:55:20, kalman wrote: > ...
8 years, 3 months ago (2012-09-21 00:39:28 UTC) #20
not at google - send to devlin
lgtm
8 years, 3 months ago (2012-09-21 01:11:52 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/cduvall@chromium.org/10907151/28001
8 years, 3 months ago (2012-09-21 02:03:54 UTC) #22
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build. Your ...
8 years, 3 months ago (2012-09-21 02:38:15 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/cduvall@chromium.org/10907151/28003
8 years, 3 months ago (2012-09-21 02:47:57 UTC) #24
cduvall
+zelidrag: for rtcPrivate changes. I wasn't quite sure what to do with the RtcPrivateEventRouter::LAUNCH_ACTIVATE case, ...
8 years, 3 months ago (2012-09-21 03:52:12 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/cduvall@chromium.org/10907151/41001
8 years, 3 months ago (2012-09-24 22:44:17 UTC) #26
not at google - send to devlin
http://codereview.chromium.org/10907151/diff/41001/chrome/browser/extensions/api/rtc_private/rtc_private_api.cc File chrome/browser/extensions/api/rtc_private/rtc_private_api.cc (right): http://codereview.chromium.org/10907151/diff/41001/chrome/browser/extensions/api/rtc_private/rtc_private_api.cc#newcode56 chrome/browser/extensions/api/rtc_private/rtc_private_api.cc:56: action_type = api::rtc_private::RTC_PRIVATE_ACTION_TYPE_NONE; why does this map to NONE ...
8 years, 3 months ago (2012-09-24 22:46:28 UTC) #27
cduvall
https://chromiumcodereview.appspot.com/10907151/diff/41001/chrome/browser/extensions/api/rtc_private/rtc_private_api.cc File chrome/browser/extensions/api/rtc_private/rtc_private_api.cc (right): https://chromiumcodereview.appspot.com/10907151/diff/41001/chrome/browser/extensions/api/rtc_private/rtc_private_api.cc#newcode56 chrome/browser/extensions/api/rtc_private/rtc_private_api.cc:56: action_type = api::rtc_private::RTC_PRIVATE_ACTION_TYPE_NONE; On 2012/09/24 22:46:29, kalman wrote: > ...
8 years, 3 months ago (2012-09-24 22:51:47 UTC) #28
not at google - send to devlin
https://chromiumcodereview.appspot.com/10907151/diff/41001/chrome/browser/extensions/api/rtc_private/rtc_private_api.cc File chrome/browser/extensions/api/rtc_private/rtc_private_api.cc (right): https://chromiumcodereview.appspot.com/10907151/diff/41001/chrome/browser/extensions/api/rtc_private/rtc_private_api.cc#newcode56 chrome/browser/extensions/api/rtc_private/rtc_private_api.cc:56: action_type = api::rtc_private::RTC_PRIVATE_ACTION_TYPE_NONE; On 2012/09/24 22:51:47, cduvall wrote: > ...
8 years, 3 months ago (2012-09-24 22:54:14 UTC) #29
zel
LGTM https://chromiumcodereview.appspot.com/10907151/diff/41001/chrome/browser/extensions/api/rtc_private/rtc_private_api.cc File chrome/browser/extensions/api/rtc_private/rtc_private_api.cc (right): https://chromiumcodereview.appspot.com/10907151/diff/41001/chrome/browser/extensions/api/rtc_private/rtc_private_api.cc#newcode56 chrome/browser/extensions/api/rtc_private/rtc_private_api.cc:56: action_type = api::rtc_private::RTC_PRIVATE_ACTION_TYPE_NONE; On 2012/09/24 22:54:14, kalman wrote: ...
8 years, 3 months ago (2012-09-24 23:00:57 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/cduvall@chromium.org/10907151/46003
8 years, 3 months ago (2012-09-24 23:03:01 UTC) #31
commit-bot: I haz the power
8 years, 3 months ago (2012-09-25 01:00:43 UTC) #32
Change committed as 158475

Powered by Google App Engine
This is Rietveld 408576698