New issue
Advanced search Search tips

Issue 896720 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Oct 22
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Task

Blocking:
issue 675877



Sign in to add a comment

Fix header guards of generated files to chromium style

Project Member Reported by eui-sang.lim@samsung.com, Oct 18

Issue description

Header guards of generated files need to follow chromium style.

e.g.)
gen/third_party/blink/renderer/bindings/core/v8/v8_internals.h

#ifndef V8Internals_h
#define V8Internals_h
...
#endif  // V8Internals_h

should be changed to 

#ifndef THIRD_PARTY_BLINK_RENDERER_BINDINGS_CORE_V8_V8_INTERNALS_H_
#define THIRD_PARTY_BLINK_RENDERER_BINDINGS_CORE_V8_V8_INTERNALS_H_
...
#endif  // THIRD_PARTY_BLINK_RENDERER_BINDINGS_CORE_V8_V8_INTERNALS_H_

Approximate measures of header files not following the rule in gen/third_party/blink

$ find gen/third_party/blink -iname '*.h' | xargs grep '^#ifndef .*$' | wc -l
2950

$ find gen/third_party/blink -iname '*.h' | xargs grep '^#ifndef THIRD_PARTY.*_H_$' | wc -l
1195



 
Project Member

Comment 1 by bugdroid1@chromium.org, Oct 19

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/a06c32f5a3f4a831ea3049395033e911f9296063

commit a06c32f5a3f4a831ea3049395033e911f9296063
Author: Amos Lim <eui-sang.lim@samsung.com>
Date: Fri Oct 19 09:52:38 2018

bindings: Let generated header files follow chromium style on header guards

Generated header files need to follow chromium style on header guards.

Update bindings/tests/results files with run_bindings_tests.
third_party/blink/tools/run_bindings_tests.py --reset-results

This CL has no behavior changes.

Bug:  896720 
Change-Id: I76a467e088a9ac004a0b33a9661e25158cb670ac
Reviewed-on: https://chromium-review.googlesource.com/c/1288167
Reviewed-by: Kentaro Hara <haraken@chromium.org>
Reviewed-by: Yuki Shiino <yukishiino@chromium.org>
Commit-Queue: Amos Lim <eui-sang.lim@samsung.com>
Cr-Commit-Position: refs/heads/master@{#601095}
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/scripts/code_generator_v8.py
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/scripts/code_generator_web_agent_api.py
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/scripts/utilities.py
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/scripts/v8_dictionary.py
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/templates/callback_function.h.tmpl
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/templates/callback_interface.h.tmpl
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/templates/dictionary_impl.h.tmpl
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/templates/dictionary_v8.h.tmpl
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/templates/interface.h.tmpl
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/templates/origin_trial_features_for_core.h.tmpl
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/templates/origin_trial_features_for_modules.h.tmpl
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/templates/partial_interface.h.tmpl
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/templates/union_container.h.tmpl
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/templates/web_agent_api_interface.h.tmpl
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/core/array_buffer_or_array_buffer_view_or_dictionary.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/core/boolean_or_element_sequence.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/core/boolean_or_string_or_unrestricted_double.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/core/boolean_or_test_callback_interface.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/core/byte_string_or_node_list.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/core/byte_string_sequence_sequence_or_byte_string_byte_string_record.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/core/double_or_double_or_null_sequence.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/core/double_or_double_sequence.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/core/double_or_long_or_boolean_sequence.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/core/double_or_string.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/core/double_or_string_or_double_or_string_sequence.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/core/element_sequence_or_byte_string_double_or_string_record.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/core/float_or_boolean.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/core/long_or_boolean.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/core/long_or_test_dictionary.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/core/long_sequence_or_event.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/core/nested_union_type.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/core/node_or_node_list.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/core/origin_trial_features_for_core.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/core/string_or_array_buffer_or_array_buffer_view.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/core/string_or_double.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/core/string_or_string_sequence.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/core/test_dictionary.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/core/test_dictionary_derived.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/core/test_enum_or_double.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/core/test_enum_or_test_enum_or_null_sequence.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/core/test_enum_or_test_enum_sequence.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/core/test_interface_2_or_uint8_array.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/core/test_interface_3.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/core/test_interface_event_init.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/core/test_interface_or_long.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/core/test_interface_or_test_interface_empty.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/core/test_permissive_dictionary.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/core/unrestricted_double_or_string.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/core/unsigned_long_long_or_boolean_or_test_callback_interface.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/core/v8_any_callback_function_optional_any_arg.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/core/v8_any_callback_function_variadic_any_args.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/core/v8_array_buffer.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/core/v8_array_buffer_view.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/core/v8_data_view.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/core/v8_long_callback_function.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/core/v8_string_sequence_callback_function_long_sequence_arg.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/core/v8_svg_test_interface.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/core/v8_test_attributes.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/core/v8_test_callback_functions.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/core/v8_test_callback_interface.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/core/v8_test_constants.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/core/v8_test_dictionary.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/core/v8_test_dictionary_derived.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/core/v8_test_integer_indexed.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/core/v8_test_integer_indexed_global.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/core/v8_test_integer_indexed_primary_global.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/core/v8_test_interface.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/core/v8_test_interface_2.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/core/v8_test_interface_3.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/core/v8_test_interface_check_security.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/core/v8_test_interface_conditional_secure_context.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/core/v8_test_interface_constructor.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/core/v8_test_interface_constructor_2.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/core/v8_test_interface_constructor_3.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/core/v8_test_interface_constructor_4.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/core/v8_test_interface_custom_constructor.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/core/v8_test_interface_document.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/core/v8_test_interface_empty.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/core/v8_test_interface_event_init.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/core/v8_test_interface_event_init_constructor.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/core/v8_test_interface_event_target.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/core/v8_test_interface_named_constructor.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/core/v8_test_interface_named_constructor_2.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/core/v8_test_interface_node.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/core/v8_test_interface_origin_trial_enabled.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/core/v8_test_interface_secure_context.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/core/v8_test_legacy_callback_interface.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/core/v8_test_node.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/core/v8_test_object.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/core/v8_test_permissive_dictionary.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/core/v8_test_special_operations.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/core/v8_test_special_operations_not_enumerable.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/core/v8_test_typedefs.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/core/v8_test_variadic_constructor_arguments.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/core/v8_treat_non_object_as_null_boolean_function.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/core/v8_treat_non_object_as_null_void_function.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/core/v8_uint8_clamped_array.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/core/v8_void_callback_function.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/core/v8_void_callback_function_dictionary_arg.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/core/v8_void_callback_function_enum_arg.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/core/v8_void_callback_function_interface_arg.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/core/v8_void_callback_function_test_interface_sequence_arg.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/core/v8_void_callback_function_typedef.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/core/xml_http_request_or_string.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/modules/boolean_or_string.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/modules/origin_trial_features_for_modules.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/modules/v8_test_inherited_legacy_unenumerable_named_properties.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/modules/v8_test_interface_2_partial.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/modules/v8_test_interface_5.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/modules/v8_test_interface_partial.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/modules/v8_test_not_enumerable_named_getter.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/modules/v8_test_sub_object.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/bindings/tests/results/modules/v8_void_callback_function_modules.h
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/build/scripts/blinkbuild/name_style_converter.py
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/build/scripts/blinkbuild/name_style_converter_test.py
[modify] https://crrev.com/a06c32f5a3f4a831ea3049395033e911f9296063/third_party/blink/renderer/build/scripts/json5_generator.py

Project Member

Comment 2 by bugdroid1@chromium.org, Oct 22

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/551cdd50d55b4c722fc022cd40d8c4a8ee31039c

commit 551cdd50d55b4c722fc022cd40d8c4a8ee31039c
Author: Amos Lim <eui-sang.lim@samsung.com>
Date: Mon Oct 22 03:27:21 2018

probe: Let generated header files follow chromium style on header guards

Generated header files need to follow chromium style on header guards.
Follow up to crrev.com/c/1235356

Bug:  896720 
Change-Id: I0b7e1f7a3e6ba2d743979808d2b6247b6a19e12c
Reviewed-on: https://chromium-review.googlesource.com/c/1291192
Reviewed-by: Kent Tamura <tkent@chromium.org>
Commit-Queue: Amos Lim <eui-sang.lim@samsung.com>
Cr-Commit-Position: refs/heads/master@{#601472}
[modify] https://crrev.com/551cdd50d55b4c722fc022cd40d8c4a8ee31039c/third_party/blink/renderer/build/scripts/make_instrumenting_probes.py
[modify] https://crrev.com/551cdd50d55b4c722fc022cd40d8c4a8ee31039c/third_party/blink/renderer/build/scripts/templates/instrumenting_probes_inl.h.tmpl
[modify] https://crrev.com/551cdd50d55b4c722fc022cd40d8c4a8ee31039c/third_party/blink/renderer/build/scripts/templates/probe_sink.h.tmpl

Project Member

Comment 3 by bugdroid1@chromium.org, Oct 22

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/977c0041f5763e2d1cece2c9f7a6e5ed6bb425b5

commit 977c0041f5763e2d1cece2c9f7a6e5ed6bb425b5
Author: Amos Lim <eui-sang.lim@samsung.com>
Date: Mon Oct 22 04:30:33 2018

Let generated header files follow chromium style on header guards

Generated header files need to follow chromium style on header guards.
This CL has no behavior changes.

Bug:  896720 
Change-Id: I97dbc277af5fc7b85fef3a6f93facdfce2742927
Reviewed-on: https://chromium-review.googlesource.com/c/1292652
Reviewed-by: Kent Tamura <tkent@chromium.org>
Reviewed-by: Darren Shen <shend@chromium.org>
Commit-Queue: Amos Lim <eui-sang.lim@samsung.com>
Cr-Commit-Position: refs/heads/master@{#601475}
[modify] https://crrev.com/977c0041f5763e2d1cece2c9f7a6e5ed6bb425b5/third_party/blink/renderer/build/scripts/core/css/make_css_value_keywords.py
[modify] https://crrev.com/977c0041f5763e2d1cece2c9f7a6e5ed6bb425b5/third_party/blink/renderer/build/scripts/core/css/make_media_features.py
[modify] https://crrev.com/977c0041f5763e2d1cece2c9f7a6e5ed6bb425b5/third_party/blink/renderer/build/scripts/core/css/make_style_shorthands.py
[modify] https://crrev.com/977c0041f5763e2d1cece2c9f7a6e5ed6bb425b5/third_party/blink/renderer/build/scripts/core/css/templates/css_value_keywords.h.tmpl
[modify] https://crrev.com/977c0041f5763e2d1cece2c9f7a6e5ed6bb425b5/third_party/blink/renderer/build/scripts/core/css/templates/media_features.h.tmpl
[modify] https://crrev.com/977c0041f5763e2d1cece2c9f7a6e5ed6bb425b5/third_party/blink/renderer/build/scripts/core/css/templates/style_property_shorthand.h.tmpl
[modify] https://crrev.com/977c0041f5763e2d1cece2c9f7a6e5ed6bb425b5/third_party/blink/renderer/build/scripts/make_internal_runtime_flags.py
[modify] https://crrev.com/977c0041f5763e2d1cece2c9f7a6e5ed6bb425b5/third_party/blink/renderer/build/scripts/make_internal_settings.py
[modify] https://crrev.com/977c0041f5763e2d1cece2c9f7a6e5ed6bb425b5/third_party/blink/renderer/build/scripts/make_origin_trials.py
[modify] https://crrev.com/977c0041f5763e2d1cece2c9f7a6e5ed6bb425b5/third_party/blink/renderer/build/scripts/make_runtime_features.py
[modify] https://crrev.com/977c0041f5763e2d1cece2c9f7a6e5ed6bb425b5/third_party/blink/renderer/build/scripts/make_settings.py
[modify] https://crrev.com/977c0041f5763e2d1cece2c9f7a6e5ed6bb425b5/third_party/blink/renderer/build/scripts/templates/internal_runtime_flags.h.tmpl
[modify] https://crrev.com/977c0041f5763e2d1cece2c9f7a6e5ed6bb425b5/third_party/blink/renderer/build/scripts/templates/internal_settings_generated.h.tmpl
[modify] https://crrev.com/977c0041f5763e2d1cece2c9f7a6e5ed6bb425b5/third_party/blink/renderer/build/scripts/templates/origin_trials.h.tmpl
[modify] https://crrev.com/977c0041f5763e2d1cece2c9f7a6e5ed6bb425b5/third_party/blink/renderer/build/scripts/templates/runtime_enabled_features.h.tmpl
[modify] https://crrev.com/977c0041f5763e2d1cece2c9f7a6e5ed6bb425b5/third_party/blink/renderer/build/scripts/templates/runtime_enabled_features_test_helpers.h.tmpl
[modify] https://crrev.com/977c0041f5763e2d1cece2c9f7a6e5ed6bb425b5/third_party/blink/renderer/build/scripts/templates/settings_macros.h.tmpl

remained so far

out/Default/gen/third_party/blink/renderer/core/xpath_grammar.h:#ifndef xpath_grammarH
out/Default/gen/third_party/blink/renderer/core/xpath_grammar.h:#ifndef YY_XPATHYY_GEN_THIRD_PARTY_BLINK_RENDERER_CORE_XPATH_GRAMMAR_HH_INCLUDED
out/Default/gen/third_party/blink/renderer/core/xpath_grammar.h:#ifndef YYDEBUG
out/Default/gen/third_party/blink/renderer/core/xpath_grammar.h:#ifndef YYTOKENTYPE
out/Default/gen/third_party/blink/renderer/core/inspector/protocol/Memory.h:#ifndef blink_protocol_Memory_h
out/Default/gen/third_party/blink/renderer/core/inspector/protocol/Database.h:#ifndef blink_protocol_Database_h
out/Default/gen/third_party/blink/renderer/core/inspector/protocol/Protocol.h:#ifndef blink_protocol_ErrorSupport_h
out/Default/gen/third_party/blink/renderer/core/inspector/protocol/Protocol.h:#ifndef blink_protocol_Values_h
out/Default/gen/third_party/blink/renderer/core/inspector/protocol/Protocol.h:#ifndef blink_protocol_Object_h
out/Default/gen/third_party/blink/renderer/core/inspector/protocol/Protocol.h:#ifndef blink_protocol_ValueConversions_h
out/Default/gen/third_party/blink/renderer/core/inspector/protocol/Protocol.h:#ifndef blink_protocol_Maybe_h
out/Default/gen/third_party/blink/renderer/core/inspector/protocol/Protocol.h:#ifndef blink_protocol_Array_h
out/Default/gen/third_party/blink/renderer/core/inspector/protocol/Protocol.h:#ifndef blink_protocol_DispatcherBase_h
out/Default/gen/third_party/blink/renderer/core/inspector/protocol/Protocol.h:#ifndef blink_protocol_Parser_h
out/Default/gen/third_party/blink/renderer/core/inspector/protocol/LayerTree.h:#ifndef blink_protocol_LayerTree_h
out/Default/gen/third_party/blink/renderer/core/inspector/protocol/Runtime.h:#ifndef blink_protocol_Runtime_imported_h
out/Default/gen/third_party/blink/renderer/core/inspector/protocol/Animation.h:#ifndef blink_protocol_Animation_h
out/Default/gen/third_party/blink/renderer/core/inspector/protocol/IO.h:#ifndef blink_protocol_IO_h
out/Default/gen/third_party/blink/renderer/core/inspector/protocol/Emulation.h:#ifndef blink_protocol_Emulation_h
out/Default/gen/third_party/blink/renderer/core/inspector/protocol/Audits.h:#ifndef blink_protocol_Audits_h
out/Default/gen/third_party/blink/renderer/core/inspector/protocol/Security.h:#ifndef blink_protocol_Security_h
out/Default/gen/third_party/blink/renderer/core/inspector/protocol/IndexedDB.h:#ifndef blink_protocol_IndexedDB_h
out/Default/gen/third_party/blink/renderer/core/inspector/protocol/CSS.h:#ifndef blink_protocol_CSS_h
out/Default/gen/third_party/blink/renderer/core/inspector/protocol/Target.h:#ifndef blink_protocol_Target_h
out/Default/gen/third_party/blink/renderer/core/inspector/protocol/Accessibility.h:#ifndef blink_protocol_Accessibility_h
out/Default/gen/third_party/blink/renderer/core/inspector/protocol/Debugger.h:#ifndef blink_protocol_Debugger_imported_h
out/Default/gen/third_party/blink/renderer/core/inspector/protocol/Network.h:#ifndef blink_protocol_Network_h
out/Default/gen/third_party/blink/renderer/core/inspector/protocol/CacheStorage.h:#ifndef blink_protocol_CacheStorage_h
out/Default/gen/third_party/blink/renderer/core/inspector/protocol/Forward.h:#ifndef blink_protocol_Forward_h
out/Default/gen/third_party/blink/renderer/core/inspector/protocol/Forward.h:#ifndef blink_protocol_Allocator_h
out/Default/gen/third_party/blink/renderer/core/inspector/protocol/Forward.h:#ifndef blink_protocol_FrontendChannel_h
out/Default/gen/third_party/blink/renderer/core/inspector/protocol/Overlay.h:#ifndef blink_protocol_Overlay_h
out/Default/gen/third_party/blink/renderer/core/inspector/protocol/DOMStorage.h:#ifndef blink_protocol_DOMStorage_h
out/Default/gen/third_party/blink/renderer/core/inspector/protocol/DOMSnapshot.h:#ifndef blink_protocol_DOMSnapshot_h
out/Default/gen/third_party/blink/renderer/core/inspector/protocol/ApplicationCache.h:#ifndef blink_protocol_ApplicationCache_h
out/Default/gen/third_party/blink/renderer/core/inspector/protocol/Log.h:#ifndef blink_protocol_Log_h
out/Default/gen/third_party/blink/renderer/core/inspector/protocol/Performance.h:#ifndef blink_protocol_Performance_h
out/Default/gen/third_party/blink/renderer/core/inspector/protocol/Page.h:#ifndef blink_protocol_Page_h
out/Default/gen/third_party/blink/renderer/core/inspector/protocol/DOM.h:#ifndef blink_protocol_DOM_h
out/Default/gen/third_party/blink/renderer/core/inspector/protocol/DeviceOrientation.h:#ifndef blink_protocol_DeviceOrientation_h
out/Default/gen/third_party/blink/renderer/core/inspector/protocol/DOMDebugger.h:#ifndef blink_protocol_DOMDebugger_h
out/Default/gen/third_party/blink/renderer/core/inspector/protocol/Testing.h:#ifndef blink_protocol_Testing_h
Labels: -Type-Feature Type-Task
xpath_grammarH is produced by renderer/build/scripts/rule_bison.py.

I remember inspector protocol stuff is generated by a script outside of blink.

Project Member

Comment 6 by bugdroid1@chromium.org, Oct 22

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/3ca8d3e1b2142fbf5a1bcf215dc555ede418442d

commit 3ca8d3e1b2142fbf5a1bcf215dc555ede418442d
Author: Amos Lim <eui-sang.lim@samsung.com>
Date: Mon Oct 22 08:46:52 2018

Let generated xpath_grammar header follow chromium style on header guards

Generated header files need to follow chromium style on header guards.
This CL has no behavior changes.

Bug:  896720 
Change-Id: I5ed457086e369fd515f5969daebfc8e1ef623112
Reviewed-on: https://chromium-review.googlesource.com/c/1293059
Reviewed-by: Kent Tamura <tkent@chromium.org>
Commit-Queue: Amos Lim <eui-sang.lim@samsung.com>
Cr-Commit-Position: refs/heads/master@{#601502}
[modify] https://crrev.com/3ca8d3e1b2142fbf5a1bcf215dc555ede418442d/third_party/blink/renderer/build/scripts/rule_bison.py

Status: Fixed (was: Started)
It seems all headers are fixed since inspector protocol stuff is generated by a script outside of blink.

Sign in to add a comment