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

Issue 238923007: PPAPI: Format ppapi/thunk using clang-format. (Closed)

Created:
6 years, 8 months ago by dmichael (off chromium)
Modified:
6 years, 1 month ago
Reviewers:
teravest, Nico
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, scheib+watch_chromium.org, dcheng, extensions-reviews_chromium.org
Visibility:
Public.

Description

PPAPI: Format ppapi/thunk using clang-format. BUG=345417 R=teravest@chromium.org Committed: https://crrev.com/ffb1cc0ce7dc5ef0facb1306120f36faec64f4f0 Cr-Commit-Position: refs/heads/master@{#303308}

Patch Set 1 #

Patch Set 2 : Use Popen instead, force carriage returns in thunks #

Total comments: 4

Patch Set 3 : only touch generated files. Update python. #

Patch Set 4 : Format a few more things. #

Patch Set 5 : merge #

Total comments: 3

Patch Set 6 : add comment #

Patch Set 7 : merge #

Patch Set 8 : merge #

Patch Set 9 : Remove comment hack #

Patch Set 10 : merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+537 lines, -760 lines) Patch
M ppapi/c/pp_macros.h View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -1 line 0 comments Download
M ppapi/generators/idl_outfile.py View 1 2 3 chunks +10 lines, -0 lines 0 comments Download
M ppapi/generators/idl_thunk.py View 1 2 3 4 5 6 7 8 4 chunks +4 lines, -14 lines 0 comments Download
M ppapi/thunk/ppb_audio_buffer_thunk.cc View 1 2 3 4 5 6 7 8 2 chunks +10 lines, -12 lines 0 comments Download
M ppapi/thunk/ppb_camera_capabilities_private_thunk.cc View 1 2 3 4 5 6 7 8 2 chunks +7 lines, -9 lines 0 comments Download
M ppapi/thunk/ppb_compositor_layer_thunk.cc View 1 2 3 4 5 6 7 8 5 chunks +29 lines, -37 lines 0 comments Download
M ppapi/thunk/ppb_compositor_thunk.cc View 1 2 3 4 5 6 7 8 2 chunks +6 lines, -8 lines 0 comments Download
M ppapi/thunk/ppb_console_thunk.cc View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -5 lines 0 comments Download
M ppapi/thunk/ppb_content_decryptor_private_thunk.cc View 1 2 3 4 5 6 7 8 13 chunks +33 lines, -53 lines 0 comments Download
M ppapi/thunk/ppb_device_ref_dev_thunk.cc View 1 2 3 4 5 6 7 8 2 chunks +5 lines, -7 lines 0 comments Download
M ppapi/thunk/ppb_display_color_profile_private_thunk.cc View 1 2 3 4 5 6 7 8 2 chunks +15 lines, -18 lines 0 comments Download
M ppapi/thunk/ppb_file_chooser_dev_thunk.cc View 1 2 3 4 5 6 7 8 2 chunks +8 lines, -14 lines 0 comments Download
M ppapi/thunk/ppb_file_chooser_trusted_thunk.cc View 2 3 4 5 6 7 8 3 chunks +7 lines, -15 lines 0 comments Download
M ppapi/thunk/ppb_file_io_thunk.cc View 1 2 3 4 5 6 7 8 6 chunks +33 lines, -45 lines 0 comments Download
M ppapi/thunk/ppb_file_mapping_thunk.cc View 1 2 3 4 5 6 7 8 4 chunks +9 lines, -18 lines 0 comments Download
M ppapi/thunk/ppb_file_system_thunk.cc View 1 2 3 4 5 6 7 8 2 chunks +5 lines, -7 lines 0 comments Download
M ppapi/thunk/ppb_find_private_thunk.cc View 1 2 3 4 5 6 7 8 2 chunks +6 lines, -8 lines 0 comments Download
M ppapi/thunk/ppb_flash_drm_thunk.cc View 1 2 3 4 5 6 7 8 3 chunks +14 lines, -18 lines 0 comments Download
M ppapi/thunk/ppb_fullscreen_thunk.cc View 1 2 3 4 5 6 7 8 2 chunks +4 lines, -6 lines 0 comments Download
M ppapi/thunk/ppb_gamepad_thunk.cc View 2 3 4 5 6 7 8 2 chunks +2 lines, -4 lines 0 comments Download
M ppapi/thunk/ppb_graphics_2d_thunk.cc View 1 2 3 4 5 6 7 8 2 chunks +18 lines, -22 lines 0 comments Download
M ppapi/thunk/ppb_graphics_3d_thunk.cc View 1 2 3 4 5 6 7 8 3 chunks +10 lines, -13 lines 0 comments Download
M ppapi/thunk/ppb_host_resolver_thunk.cc View 1 2 3 4 5 6 7 8 3 chunks +10 lines, -15 lines 0 comments Download
M ppapi/thunk/ppb_image_capture_config_private_thunk.cc View 1 2 3 4 5 6 7 8 2 chunks +9 lines, -11 lines 0 comments Download
M ppapi/thunk/ppb_image_capture_private_thunk.cc View 1 2 3 4 5 6 7 8 4 chunks +15 lines, -22 lines 0 comments Download
M ppapi/thunk/ppb_image_data_thunk.cc View 1 2 3 4 5 6 7 8 3 chunks +9 lines, -12 lines 0 comments Download
M ppapi/thunk/ppb_instance_private_thunk.cc View 1 2 3 4 5 6 7 8 2 chunks +5 lines, -6 lines 0 comments Download
M ppapi/thunk/ppb_instance_thunk.cc View 2 3 4 5 6 7 8 2 chunks +2 lines, -5 lines 0 comments Download
M ppapi/thunk/ppb_isolated_file_system_private_thunk.cc View 2 3 4 5 6 7 8 2 chunks +6 lines, -10 lines 0 comments Download
M ppapi/thunk/ppb_media_stream_audio_track_thunk.cc View 1 2 3 4 5 6 7 8 4 chunks +14 lines, -17 lines 0 comments Download
M ppapi/thunk/ppb_media_stream_video_track_thunk.cc View 1 2 3 4 5 6 7 8 5 chunks +29 lines, -34 lines 0 comments Download
M ppapi/thunk/ppb_mouse_cursor_thunk.cc View 2 3 4 5 6 7 8 2 chunks +2 lines, -4 lines 0 comments Download
M ppapi/thunk/ppb_mouse_lock_thunk.cc View 2 3 4 5 6 7 8 3 chunks +4 lines, -7 lines 0 comments Download
M ppapi/thunk/ppb_network_list_thunk.cc View 1 2 3 4 5 6 7 8 2 chunks +9 lines, -11 lines 0 comments Download
M ppapi/thunk/ppb_network_monitor_thunk.cc View 1 2 3 4 5 6 7 8 3 chunks +7 lines, -8 lines 0 comments Download
M ppapi/thunk/ppb_network_proxy_thunk.cc View 2 3 4 5 6 7 8 2 chunks +5 lines, -10 lines 0 comments Download
M ppapi/thunk/ppb_output_protection_private_thunk.cc View 1 2 3 4 5 6 7 8 3 chunks +9 lines, -13 lines 0 comments Download
M ppapi/thunk/ppb_platform_verification_private_thunk.cc View 1 2 3 4 5 6 7 8 2 chunks +8 lines, -14 lines 0 comments Download
M ppapi/thunk/ppb_printing_dev_thunk.cc View 1 2 3 4 5 6 7 8 2 chunks +5 lines, -8 lines 0 comments Download
M ppapi/thunk/ppb_truetype_font_dev_thunk.cc View 1 2 3 4 5 6 7 8 5 chunks +16 lines, -25 lines 0 comments Download
M ppapi/thunk/ppb_udp_socket_thunk.cc View 1 2 3 4 5 6 7 8 4 chunks +15 lines, -22 lines 0 comments Download
M ppapi/thunk/ppb_uma_private_thunk.cc View 1 2 3 4 5 6 7 8 5 chunks +10 lines, -22 lines 0 comments Download
M ppapi/thunk/ppb_url_loader_thunk.cc View 1 2 3 4 5 6 7 8 4 chunks +14 lines, -17 lines 0 comments Download
M ppapi/thunk/ppb_url_loader_trusted_thunk.cc View 1 2 3 4 5 6 7 8 2 chunks +4 lines, -5 lines 0 comments Download
M ppapi/thunk/ppb_url_request_info_thunk.cc View 1 2 3 4 5 6 7 8 2 chunks +9 lines, -12 lines 0 comments Download
M ppapi/thunk/ppb_url_response_info_thunk.cc View 1 2 3 4 5 6 7 8 2 chunks +5 lines, -6 lines 0 comments Download
M ppapi/thunk/ppb_video_decoder_thunk.cc View 1 2 3 4 5 6 7 8 9 5 chunks +9 lines, -17 lines 0 comments Download
M ppapi/thunk/ppb_video_frame_thunk.cc View 1 2 3 4 5 6 7 8 2 chunks +8 lines, -10 lines 0 comments Download
M ppapi/thunk/ppb_view_dev_thunk.cc View 2 3 4 5 6 7 8 2 chunks +3 lines, -5 lines 0 comments Download
M ppapi/thunk/ppb_view_thunk.cc View 1 2 3 4 5 6 7 8 2 chunks +26 lines, -32 lines 0 comments Download
M ppapi/thunk/ppb_websocket_thunk.cc View 1 2 3 4 5 6 7 8 4 chunks +18 lines, -22 lines 0 comments Download
M ppapi/thunk/ppb_widget_dev_thunk.cc View 1 2 3 4 5 6 7 8 2 chunks +9 lines, -17 lines 0 comments Download
M ppapi/thunk/ppb_zoom_dev_thunk.cc View 1 2 3 4 5 6 7 8 2 chunks +4 lines, -7 lines 0 comments Download

Messages

Total messages: 27 (5 generated)
dmichael (off chromium)
6 years, 8 months ago (2014-04-15 22:47:04 UTC) #1
teravest
Some of the indentation still looks pretty bad. https://codereview.chromium.org/238923007/diff/20001/ppapi/generators/idl_outfile.py File ppapi/generators/idl_outfile.py (right): https://codereview.chromium.org/238923007/diff/20001/ppapi/generators/idl_outfile.py#newcode99 ppapi/generators/idl_outfile.py:99: (new_output, ...
6 years, 8 months ago (2014-04-16 15:19:16 UTC) #2
dmichael (off chromium)
As we discussed offline, I decided to leave the files that aren't generated alone for ...
6 years, 8 months ago (2014-04-16 21:59:15 UTC) #3
dmichael (off chromium)
On 2014/04/16 21:59:15, dmichael wrote: > As we discussed offline, I decided to leave the ...
6 years, 8 months ago (2014-04-16 22:00:32 UTC) #4
teravest
lgtm https://codereview.chromium.org/238923007/diff/80001/ppapi/generators/idl_thunk.py File ppapi/generators/idl_thunk.py (right): https://codereview.chromium.org/238923007/diff/80001/ppapi/generators/idl_thunk.py#newcode541 ppapi/generators/idl_thunk.py:541: out.Write(', //\n'.join([' &%s' % f for f in ...
6 years, 8 months ago (2014-04-17 14:00:50 UTC) #5
dmichael (off chromium)
The CQ bit was checked by dmichael@chromium.org
6 years, 8 months ago (2014-04-17 16:58:07 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmichael@chromium.org/238923007/110001
6 years, 8 months ago (2014-04-17 16:58:14 UTC) #7
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-17 17:53:57 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on win_chromium_rel
6 years, 8 months ago (2014-04-17 17:53:57 UTC) #9
Nico
https://codereview.chromium.org/238923007/diff/80001/ppapi/thunk/ppb_url_loader_thunk.cc File ppapi/thunk/ppb_url_loader_thunk.cc (right): https://codereview.chromium.org/238923007/diff/80001/ppapi/thunk/ppb_url_loader_thunk.cc#newcode130 ppapi/thunk/ppb_url_loader_thunk.cc:130: &Close // Eww, that's pretty horrible, no? Have you ...
6 years, 8 months ago (2014-04-17 18:37:35 UTC) #10
dmichael (off chromium)
https://codereview.chromium.org/238923007/diff/80001/ppapi/thunk/ppb_url_loader_thunk.cc File ppapi/thunk/ppb_url_loader_thunk.cc (right): https://codereview.chromium.org/238923007/diff/80001/ppapi/thunk/ppb_url_loader_thunk.cc#newcode130 ppapi/thunk/ppb_url_loader_thunk.cc:130: &Close // On 2014/04/17 18:37:36, Nico wrote: > Eww, ...
6 years, 8 months ago (2014-04-17 19:11:12 UTC) #11
dmichael (off chromium)
On 2014/04/17 19:11:12, dmichael wrote: > https://codereview.chromium.org/238923007/diff/80001/ppapi/thunk/ppb_url_loader_thunk.cc > File ppapi/thunk/ppb_url_loader_thunk.cc (right): > > https://codereview.chromium.org/238923007/diff/80001/ppapi/thunk/ppb_url_loader_thunk.cc#newcode130 > ...
6 years, 8 months ago (2014-04-17 19:25:17 UTC) #12
teravest
Has clang format been rolled yet?
6 years, 7 months ago (2014-05-07 14:15:51 UTC) #13
Nico
Not sure which revision you're waiting for, but clang-format --help (or was it --version) print ...
6 years, 7 months ago (2014-05-07 14:50:44 UTC) #14
dmichael (off chromium)
This CL is waiting on 206458, we appear to be at 206068 right now.
6 years, 7 months ago (2014-05-07 15:11:54 UTC) #15
teravest
On 2014/05/07 15:11:54, dmichael wrote: > This CL is waiting on 206458, we appear to ...
6 years, 1 month ago (2014-11-07 16:06:20 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/238923007/170001
6 years, 1 month ago (2014-11-07 17:19:51 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: linux_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/linux_gpu/builds/89219) mac_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/mac_gpu/builds/78881) linux_chromium_compile_dbg_32 ...
6 years, 1 month ago (2014-11-07 17:24:43 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/238923007/190001
6 years, 1 month ago (2014-11-07 21:55:37 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/22946)
6 years, 1 month ago (2014-11-07 22:01:09 UTC) #25
dmichael (off chromium)
Committed patchset #10 (id:190001) manually as ffb1cc0ce7dc5ef0facb1306120f36faec64f4f0 (presubmit successful).
6 years, 1 month ago (2014-11-07 22:19:52 UTC) #26
commit-bot: I haz the power
6 years, 1 month ago (2014-11-07 22:20:02 UTC) #27
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/ffb1cc0ce7dc5ef0facb1306120f36faec64f4f0
Cr-Commit-Position: refs/heads/master@{#303308}

Powered by Google App Engine
This is Rietveld 408576698