0
Files
src/docs
Darren Shen 0e1f621511 Call out BrowserContext in ash code location guidelines.
In one section, the guidelines say:

  Instead of using ProfileKeyedServiceFactory (in //chrome), consider
  using BrowserContextKeyedServiceFactory (in //components) instead.

But in the "Desired State" section, it says:

  The //content directory is the API for building a web browser. Even
  though Ash does use web technology for rendering many things, it is
  not itself a web browser and there should be no OS code in this
  directory or calling directly into it.

And also:

  New features should be designed to adhere to the “desired state” as
  closely as practical.

To resolve some confusion here, explicitly call out BrowserContext as
allowed despite contradicting the desired state.

Change-Id: Iba72f48d9dc054d5012325bc4f384d036cc68b99
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6093907
Reviewed-by: Michael Cui <mlcui@google.com>
Reviewed-by: Kyle Horimoto <khorimoto@chromium.org>
Commit-Queue: Darren Shen <shend@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1396991}
2024-12-16 14:12:03 -08:00
..
2024-09-21 19:02:01 +00:00
2024-01-10 01:03:43 +00:00
2024-12-04 11:23:43 +00:00
2024-11-25 16:31:21 +00:00
2024-12-11 05:30:31 +00:00
2024-03-18 09:08:10 +00:00
2024-05-27 07:23:19 +00:00
2024-04-10 18:17:09 +00:00
2023-11-29 10:32:30 +00:00
2024-05-02 11:23:56 +00:00
2024-04-12 14:52:01 +00:00
2024-12-12 14:02:50 -08:00
2024-05-27 07:23:19 +00:00
2024-11-18 18:20:55 +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

Note: this is not an exhaustive list of all documents.

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

Security

  • The Rule Of 2 - An imoportant security rule when handling untrustworthy contents (like anything downloaded from the web).

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.

UI

What's Up With That Transcripts

These are transcripts of What's Up With That, a video series of interviews with Chromium software engineers.

Probably Obsolete