Code-Review | +1 |
Context:
please add a basic description of the change. providing a link to a link to a link ... isn't exactly reviewer friendly :P
ui::ClipboardBuffer clipboard_buffer,
nit: const
render_frame_host().GetProcess()->GetStoragePartition());
you may very well inline this.
const base::Uuid& GetPartitionUUIDPerStorageKey(
does this have to be declared in the impl class? can it be added to the interface? then you don't have to do a static cast where you need to use it.
ClipboardChangeEvent(const ClipboardChangeEventInit* initializer);
drive-by fix suggestion:
Please fix this WARNING reported by ClangTidy: check: google-explicit-constructor
single-argument constructors must be marked ...
check: google-explicit-constructor
single-argument constructors must be marked explicit to avoid unintentional implicit conversions (https://clang.llvm.org/extra/clang-tidy/checks/google/explicit-constructor.html)
(Note: You can add `Skip-Clang-Tidy-Checks: google-explicit-constructor` footer to the CL description to skip the check)
(Lint observed on `android-clang-tidy-rel` and `linux-clang-tidy-rel`)
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
please add a basic description of the change. providing a link to a link to a link ... isn't exactly reviewer friendly :P
Yes, I was planning on doing this when toggling the WIP bit later. Added something.
ui::ClipboardBuffer clipboard_buffer,
Luke Klimeknit: const
Hm, this is a primitive type anyway, I feel it would make the signature just *a bit* less readable. And for consistency require changing all of the places in this file, which would make the CL less readable. I'll maybe not do that this time.
render_frame_host().GetProcess()->GetStoragePartition());
you may very well inline this.
Done
does this have to be declared in the impl class? can it be added to the interface? then you don't have to do a static cast where you need to use it.
Hm, I vaguely recall some reason. But cannot remember it now, let's put it in the interface.
ClipboardChangeEvent(const ClipboardChangeEventInit* initializer);
drive-by fix suggestion:
Please fix this WARNING reported by ClangTidy: check: google-explicit-constructor
single-argument constructors must be marked ...
check: google-explicit-constructor
single-argument constructors must be marked explicit to avoid unintentional implicit conversions (https://clang.llvm.org/extra/clang-tidy/checks/google/explicit-constructor.html)
(Note: You can add `Skip-Clang-Tidy-Checks: google-explicit-constructor` footer to the CL description to skip the check)
(Lint observed on `android-clang-tidy-rel` and `linux-clang-tidy-rel`)
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |