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

Issue 10272021: Files generated by the JSON schema compiler are named incorrectly (Closed)

Created:
8 years, 7 months ago by cduvall
Modified:
8 years, 7 months ago
CC:
chromium-reviews, Aaron Boodman, mihaip-chromium-reviews_chromium.org, pam+watch_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Files generated by the JSON schema compiler are named incorrectly Files are now named like "file_name.h" instead of "fileName.h" or "file.name.h", and all the JSON files have been renamed. BUG=125669 TEST=All previous tests for the renamed files Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=135077 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=136747

Patch Set 1 #

Patch Set 2 : Minor change for compiler.py #

Patch Set 3 : Renamed json files #

Total comments: 5

Patch Set 4 : Removed comment #

Patch Set 5 : Check to make files are named correctly #

Total comments: 1

Patch Set 6 : Check bundle schema filenames #

Total comments: 4

Patch Set 7 : Minor changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+84 lines, -9647 lines) Patch
M chrome/browser/extensions/api/bluetooth/bluetooth_api.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/dns/dns_api.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/socket/socket_api.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/usb/usb_api.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/usb/usb_api.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/usb/usb_device_resource.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/usb/usb_device_resource.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extension_record_api.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extension_record_api_test.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/api/api.gyp View 1 2 3 chunks +10 lines, -10 lines 0 comments Download
D chrome/common/extensions/api/browserAction.json View 1 2 3 4 5 1 chunk +0 lines, -272 lines 0 comments Download
A + chrome/common/extensions/api/browser_action.json View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
D chrome/common/extensions/api/browsingData.json View 1 2 1 chunk +0 lines, -331 lines 0 comments Download
A + chrome/common/extensions/api/browsing_data.json View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
D chrome/common/extensions/api/chromeAuthPrivate.json View 1 2 1 chunk +0 lines, -48 lines 0 comments Download
A + chrome/common/extensions/api/chrome_auth_private.json View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
D chrome/common/extensions/api/chromeosInfoPrivate.json View 1 2 1 chunk +0 lines, -41 lines 0 comments Download
A + chrome/common/extensions/api/chromeos_info_private.json View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
D chrome/common/extensions/api/contentSettings.json View 1 2 1 chunk +0 lines, -221 lines 0 comments Download
A + chrome/common/extensions/api/content_settings.json View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
D chrome/common/extensions/api/contextMenus.json View 1 2 3 4 5 1 chunk +0 lines, -256 lines 0 comments Download
A + chrome/common/extensions/api/context_menus.json View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
D chrome/common/extensions/api/declarativeWebRequest.json View 1 2 3 4 5 1 chunk +0 lines, -64 lines 0 comments Download
A + chrome/common/extensions/api/declarative_web_request.json View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
D chrome/common/extensions/api/echoPrivate.json View 1 2 1 chunk +0 lines, -37 lines 0 comments Download
A + chrome/common/extensions/api/echo_private.json View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
D chrome/common/extensions/api/experimental.accessibility.json View 1 2 1 chunk +0 lines, -284 lines 0 comments Download
D chrome/common/extensions/api/experimental.app.json View 1 2 1 chunk +0 lines, -90 lines 0 comments Download
D chrome/common/extensions/api/experimental.bluetooth.idl View 1 2 1 chunk +0 lines, -119 lines 0 comments Download
D chrome/common/extensions/api/experimental.bookmarkManager.json View 1 2 3 4 5 1 chunk +0 lines, -241 lines 0 comments Download
D chrome/common/extensions/api/experimental.dns.idl View 1 2 1 chunk +0 lines, -28 lines 0 comments Download
D chrome/common/extensions/api/experimental.downloads.json View 1 2 1 chunk +0 lines, -661 lines 0 comments Download
D chrome/common/extensions/api/experimental.fontSettings.json View 1 2 1 chunk +0 lines, -555 lines 0 comments Download
D chrome/common/extensions/api/experimental.identity.json View 1 2 1 chunk +0 lines, -32 lines 0 comments Download
D chrome/common/extensions/api/experimental.idltest.idl View 1 2 3 4 5 1 chunk +0 lines, -26 lines 0 comments Download
D chrome/common/extensions/api/experimental.infobars.json View 1 2 3 4 5 1 chunk +0 lines, -51 lines 0 comments Download
D chrome/common/extensions/api/experimental.input.ui.json View 1 2 1 chunk +0 lines, -146 lines 0 comments Download
D chrome/common/extensions/api/experimental.input.virtualKeyboard.json View 1 2 1 chunk +0 lines, -139 lines 0 comments Download
D chrome/common/extensions/api/experimental.keybinding.json View 1 2 1 chunk +0 lines, -22 lines 0 comments Download
D chrome/common/extensions/api/experimental.mediaGalleries.json View 1 2 3 4 5 6 1 chunk +0 lines, -92 lines 0 comments Download
D chrome/common/extensions/api/experimental.offscreenTabs.json View 1 2 1 chunk +0 lines, -354 lines 0 comments Download
D chrome/common/extensions/api/experimental.processes.json View 1 2 1 chunk +0 lines, -83 lines 0 comments Download
D chrome/common/extensions/api/experimental.record.json View 1 2 1 chunk +0 lines, -89 lines 0 comments Download
D chrome/common/extensions/api/experimental.rlz.json View 1 2 1 chunk +0 lines, -57 lines 0 comments Download
D chrome/common/extensions/api/experimental.runtime.json View 1 2 1 chunk +0 lines, -46 lines 0 comments Download
D chrome/common/extensions/api/experimental.serial.idl View 1 2 1 chunk +0 lines, -76 lines 0 comments Download
D chrome/common/extensions/api/experimental.socket.idl View 1 2 3 4 5 1 chunk +0 lines, -143 lines 0 comments Download
D chrome/common/extensions/api/experimental.speechInput.json View 1 2 1 chunk +0 lines, -166 lines 0 comments Download
D chrome/common/extensions/api/experimental.usb.idl View 1 2 1 chunk +0 lines, -146 lines 0 comments Download
A + chrome/common/extensions/api/experimental_accessibility.json View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
A + chrome/common/extensions/api/experimental_app.json View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
A + chrome/common/extensions/api/experimental_bluetooth.idl View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
A + chrome/common/extensions/api/experimental_bookmark_manager.json View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
A + chrome/common/extensions/api/experimental_dns.idl View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
A + chrome/common/extensions/api/experimental_downloads.json View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
A + chrome/common/extensions/api/experimental_font_settings.json View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
A + chrome/common/extensions/api/experimental_identity.json View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
A + chrome/common/extensions/api/experimental_idltest.idl View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
A + chrome/common/extensions/api/experimental_infobars.json View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
A + chrome/common/extensions/api/experimental_input_ui.json View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
A + chrome/common/extensions/api/experimental_input_virtual_keyboard.json View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
A + chrome/common/extensions/api/experimental_keybinding.json View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
A + chrome/common/extensions/api/experimental_media_galleries.json View 1 2 3 4 5 6 0 chunks +-1 lines, --1 lines 0 comments Download
A + chrome/common/extensions/api/experimental_offscreen_tabs.json View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
A + chrome/common/extensions/api/experimental_processes.json View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
A + chrome/common/extensions/api/experimental_record.json View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
A + chrome/common/extensions/api/experimental_rlz.json View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
A + chrome/common/extensions/api/experimental_runtime.json View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
A + chrome/common/extensions/api/experimental_serial.idl View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
A + chrome/common/extensions/api/experimental_socket.idl View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
A + chrome/common/extensions/api/experimental_speech_input.json View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
A + chrome/common/extensions/api/experimental_usb.idl View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
D chrome/common/extensions/api/fileBrowserHandler.json View 1 2 1 chunk +0 lines, -46 lines 0 comments Download
D chrome/common/extensions/api/fileBrowserPrivate.json View 1 2 3 4 5 1 chunk +0 lines, -1012 lines 0 comments Download
A + chrome/common/extensions/api/file_browser_handler.json View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
A + chrome/common/extensions/api/file_browser_private.json View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
D chrome/common/extensions/api/input.ime.json View 1 2 1 chunk +0 lines, -531 lines 0 comments Download
D chrome/common/extensions/api/inputMethodPrivate.json View 1 2 1 chunk +0 lines, -48 lines 0 comments Download
A + chrome/common/extensions/api/input_ime.json View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
A + chrome/common/extensions/api/input_method_private.json View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
D chrome/common/extensions/api/managedModePrivate.json View 1 2 1 chunk +0 lines, -61 lines 0 comments Download
A + chrome/common/extensions/api/managed_mode_private.json View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
D chrome/common/extensions/api/mediaPlayerPrivate.json View 1 2 1 chunk +0 lines, -91 lines 0 comments Download
A + chrome/common/extensions/api/media_player_private.json View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
D chrome/common/extensions/api/metricsPrivate.json View 1 2 1 chunk +0 lines, -111 lines 0 comments Download
A + chrome/common/extensions/api/metrics_private.json View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
D chrome/common/extensions/api/pageAction.json View 1 2 3 4 5 1 chunk +0 lines, -161 lines 0 comments Download
D chrome/common/extensions/api/pageActions.json View 1 2 1 chunk +0 lines, -53 lines 0 comments Download
D chrome/common/extensions/api/pageCapture.json View 1 2 1 chunk +0 lines, -42 lines 0 comments Download
A + chrome/common/extensions/api/page_action.json View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
A + chrome/common/extensions/api/page_actions.json View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
A + chrome/common/extensions/api/page_capture.json View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
D chrome/common/extensions/api/systemPrivate.json View 1 2 1 chunk +0 lines, -130 lines 0 comments Download
A + chrome/common/extensions/api/system_private.json View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
D chrome/common/extensions/api/terminalPrivate.json View 1 2 1 chunk +0 lines, -151 lines 0 comments Download
A + chrome/common/extensions/api/terminal_private.json View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
D chrome/common/extensions/api/topSites.json View 1 2 1 chunk +0 lines, -40 lines 0 comments Download
A + chrome/common/extensions/api/top_sites.json View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
D chrome/common/extensions/api/ttsEngine.json View 1 2 3 4 5 1 chunk +0 lines, -104 lines 0 comments Download
A + chrome/common/extensions/api/tts_engine.json View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
D chrome/common/extensions/api/webNavigation.json View 1 2 1 chunk +0 lines, -217 lines 0 comments Download
D chrome/common/extensions/api/webRequest.json View 1 2 1 chunk +0 lines, -528 lines 0 comments Download
D chrome/common/extensions/api/webSocketProxyPrivate.json View 1 2 1 chunk +0 lines, -82 lines 0 comments Download
A + chrome/common/extensions/api/web_navigation.json View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
A + chrome/common/extensions/api/web_request.json View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
A + chrome/common/extensions/api/web_socket_proxy_private.json View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
D chrome/common/extensions/api/webstorePrivate.json View 1 2 1 chunk +0 lines, -269 lines 0 comments Download
A + chrome/common/extensions/api/webstore_private.json View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
M chrome/common/extensions/docs/js/api_page_generator.js View 1 2 3 4 5 6 1 chunk +40 lines, -40 lines 0 comments Download
M chrome/common/extensions_api_resources.grd View 1 2 3 4 5 6 1 chunk +43 lines, -43 lines 0 comments Download
M tools/json_schema_compiler/cc_generator.py View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M tools/json_schema_compiler/compiler.py View 1 2 3 4 5 6 4 chunks +23 lines, -5 lines 0 comments Download
M tools/json_schema_compiler/cpp_type_generator_test.py View 1 2 3 4 5 2 chunks +8 lines, -8 lines 0 comments Download
D tools/json_schema_compiler/test/additionalProperties.json View 1 2 1 chunk +0 lines, -55 lines 0 comments Download
A + tools/json_schema_compiler/test/additional_properties.json View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
M tools/json_schema_compiler/test/additional_properties_unittest.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
D tools/json_schema_compiler/test/browserAction.json View 1 2 1 chunk +0 lines, -272 lines 0 comments Download
A + tools/json_schema_compiler/test/browser_action.json View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
D tools/json_schema_compiler/test/dependencyTester.json View 1 2 3 4 5 1 chunk +0 lines, -32 lines 0 comments Download
A + tools/json_schema_compiler/test/dependency_tester.json View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
D tools/json_schema_compiler/test/fontSettings.json View 1 2 1 chunk +0 lines, -555 lines 0 comments Download
A + tools/json_schema_compiler/test/font_settings.json View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
D tools/json_schema_compiler/test/functionsOnTypes.json View 1 2 1 chunk +0 lines, -74 lines 0 comments Download
A + tools/json_schema_compiler/test/functions_on_types.json View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
M tools/json_schema_compiler/test/functions_on_types_unittest.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M tools/json_schema_compiler/test/json_schema_compiler_tests.gyp View 1 2 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
cduvall
Thanks for the review!
8 years, 7 months ago (2012-05-01 01:12:29 UTC) #1
not at google - send to devlin
I don't understand, this is the right change to the compiler but it should still ...
8 years, 7 months ago (2012-05-01 01:18:27 UTC) #2
cduvall
On 2012/05/01 01:18:27, kalman wrote: > I don't understand, this is the right change to ...
8 years, 7 months ago (2012-05-01 01:34:31 UTC) #3
not at google - send to devlin
Oh my bad, I totally read the reverse diff for some reason :) lgtm
8 years, 7 months ago (2012-05-01 01:41:28 UTC) #4
cduvall
On 2012/05/01 01:41:28, kalman wrote: > Oh my bad, I totally read the reverse diff ...
8 years, 7 months ago (2012-05-01 01:44:03 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/cduvall@chromium.org/10272021/7001
8 years, 7 months ago (2012-05-03 00:06:30 UTC) #6
commit-bot: I haz the power
Change committed as 135077
8 years, 7 months ago (2012-05-03 03:14:17 UTC) #7
cduvall
JSON files have been renamed. Thanks for your help!
8 years, 7 months ago (2012-05-10 02:31:30 UTC) #8
not at google - send to devlin
On 2012/05/10 02:31:30, cduvall wrote: > JSON files have been renamed. Thanks for your help! ...
8 years, 7 months ago (2012-05-10 02:35:50 UTC) #9
not at google - send to devlin
https://chromiumcodereview.appspot.com/10272021/diff/19001/tools/json_schema_compiler/compiler.py File tools/json_schema_compiler/compiler.py (right): https://chromiumcodereview.appspot.com/10272021/diff/19001/tools/json_schema_compiler/compiler.py#newcode39 tools/json_schema_compiler/compiler.py:39: (schema_filename, schema_extension)) Instead of doing this can we load ...
8 years, 7 months ago (2012-05-10 02:36:02 UTC) #10
cduvall
https://chromiumcodereview.appspot.com/10272021/diff/19001/tools/json_schema_compiler/compiler.py File tools/json_schema_compiler/compiler.py (right): https://chromiumcodereview.appspot.com/10272021/diff/19001/tools/json_schema_compiler/compiler.py#newcode39 tools/json_schema_compiler/compiler.py:39: (schema_filename, schema_extension)) On 2012/05/10 02:36:02, kalman wrote: > Instead ...
8 years, 7 months ago (2012-05-10 03:09:01 UTC) #11
not at google - send to devlin
https://chromiumcodereview.appspot.com/10272021/diff/19001/tools/json_schema_compiler/compiler.py File tools/json_schema_compiler/compiler.py (right): https://chromiumcodereview.appspot.com/10272021/diff/19001/tools/json_schema_compiler/compiler.py#newcode39 tools/json_schema_compiler/compiler.py:39: (schema_filename, schema_extension)) On 2012/05/10 03:09:01, cduvall wrote: > On ...
8 years, 7 months ago (2012-05-10 03:26:51 UTC) #12
cduvall
Now it makes sure the files only have a single schema and checks them all ...
8 years, 7 months ago (2012-05-11 21:04:14 UTC) #13
not at google - send to devlin
nice, lgtm. just those couple of tiny things https://chromiumcodereview.appspot.com/10272021/diff/27001/tools/json_schema_compiler/compiler.py File tools/json_schema_compiler/compiler.py (right): https://chromiumcodereview.appspot.com/10272021/diff/27001/tools/json_schema_compiler/compiler.py#newcode74 tools/json_schema_compiler/compiler.py:74: path, ...
8 years, 7 months ago (2012-05-12 00:19:37 UTC) #14
cduvall
https://chromiumcodereview.appspot.com/10272021/diff/27001/tools/json_schema_compiler/compiler.py File tools/json_schema_compiler/compiler.py (right): https://chromiumcodereview.appspot.com/10272021/diff/27001/tools/json_schema_compiler/compiler.py#newcode74 tools/json_schema_compiler/compiler.py:74: path, schema_filename = os.path.split(schema_filename) On 2012/05/12 00:19:37, kalman wrote: ...
8 years, 7 months ago (2012-05-12 00:59:36 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/cduvall@chromium.org/10272021/24124
8 years, 7 months ago (2012-05-12 00:59:50 UTC) #16
commit-bot: I haz the power
8 years, 7 months ago (2012-05-12 02:22:41 UTC) #17
Change committed as 136747

Powered by Google App Engine
This is Rietveld 408576698