0
Files
src/docs
S. Ganesh a07f69bcec COM marshaling design change, isolate user/system interface registration
This CL introduces marshaling and registration logic to make different
(but binary-identical) COM interfaces for user and system respectively
to work seamlessly.

This CL also makes the changes for fully side-by-side interfaces for the
`Internal` updater interfaces in `updater_internal_idl.template`. The
non-internal updater interfaces in `updater_idl.template` will be added
in a follow-up CL.

The distinct interface IDs are suffixed with `User` and `System`
respectively. Most of the codebase uses the interface without the `User`
or `System` suffix, except the code that does the marshaling.

The interfaces with `User` and `System` suffixes have (and always need
to have) the exact same vtable and parameter layout as the interfaces
without the suffixes, which is what makes it possible for the marshaling
framework to think that it is marshaling the distinct `User` or `System`
interfaces, while the majority of the codebase thinks it is working with
the non-suffixed interfaces.

The `User` interfaces are only registered for the user case in HKCU,
while the corresponding `System` interfaces are only registered for the
system case in HKLM.

This isolates the installs from causing side-effects, and makes user and
system installs fully SxS.

Without this change, marshaling can load the typelib from `HKCU` for a
system install with UAC off, because when COM looks up registration,
entries in `HKCU` take priority over `HKLM` entries when UAC is off.

Bug: 1341471
Change-Id: I61a13c525eee4d3f22f92b82d8aed40eb5b74c74
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4068183
Auto-Submit: S Ganesh <ganesh@chromium.org>
Commit-Queue: Xiaoling Bao <xiaolingbao@chromium.org>
Reviewed-by: Xiaoling Bao <xiaolingbao@chromium.org>
Commit-Queue: S Ganesh <ganesh@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1077639}
2022-11-30 20:43:58 +00:00
..
2022-10-21 23:39:04 +00:00
2022-11-19 02:16:05 +00:00
2022-10-24 18:30:26 +00:00
2021-05-10 15:59:20 +00:00
2022-10-19 12:50:34 +00:00
2021-12-03 18:16:21 +00:00
2022-04-20 02:28:54 +00:00
2021-05-13 16:07:33 +00:00
2021-05-13 16:07:33 +00:00
2022-11-19 02:16:05 +00:00
2022-09-05 02:36:13 +00:00
2022-06-02 14:01:20 +00:00
2022-11-19 02:16:05 +00:00
2021-10-20 17:10:31 +00:00
2020-08-25 17:15:12 +00:00

Chromium docs

This directory contains chromium project documentation in Gitiles-flavored Markdown. It is automatically rendered by Gitiles.

If you add new documents, please also add a link to them in the Document Index below.

[TOC]

Creating Documentation

Guidelines

Previewing changes

Locally using md_browser

# in chromium checkout
./tools/md_browser/md_browser.py

This is only an estimate. The gitiles view may differ.

  1. Upload a patch to gerrit, or receive a review request. e.g. https://chromium-review.googlesource.com/c/3362532
  2. View a specific .md file. e.g. https://chromium-review.googlesource.com/c/3362532/2/docs/README.md
  3. You will see something like
    Base preview -> Patchset 3 preview | DOWNLOAD
    at the top left of the page. Click on the second "preview" link to open the preview for the current patch set.

This gitiles view is the authoritative view, exactly the same as will be used when committed.

Document Index

Checking Out and Building

Design Docs

Integrated Development Environment (IDE) Set Up Guides

Git

Clang

General Development

Testing

Configuration Docs

Misc Linux-Specific Docs

Misc MacOS-Specific Docs

Misc Windows-Specific Docs

Misc Android-Specific Docs

Misc iOS-Specific Docs

Misc Chrome-OS-Specific Docs

Misc WebUI-Specific Docs

Media

Accessibility

Memory

Memory Infrastructure Timeline Profiling (MemoryInfra)

Metrics

Misc

Mojo & Services

Speed

  • Chrome Speed - Documentation for performance measurements and regressions in Chrome.
  • Chrome Speed Metrics - Documentation about user experience metrics on the web and their JavaScript APIs.

Probably Obsolete