0
Go to file
Tsuyoshi Horo d343478be1 Store match-dest and id of dictionary into the SQL database
After https://crrev.com/c/5248489, Chromium parses "id" and "match-dest"
option of "Use-As-Ditionary" response header. But those information is
not stored in the SQL database. This CL adds the support.

To store the information, the SQL database needs to be updated as
following:

- Change the existing `id` field to `primary_key`.
- Add a new `id` field to store the "id" option.
- Add a new `match_dest` field to store the "match-dest" option.
- Add the `match_dest` to the `unique_index` index.
- Change kCurrentVersionNumber and kCompatibleVersionNumber from 1 to 2.

As the existing database scheme (version 1) is used only for the first
Origin Trial (M119-M122), we don't need to migrate the data from version
1 to the new scheme (version 2). So `DoMigrateDatabaseSchema()` method
just deletes the existing table `dictionaries` and the `total_dict_size`
metadata.

Bug: 1413922
Change-Id: Ia2841e4f022cc48cf766b51639cd7047f6a1bc81
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5271881
Reviewed-by: Patrick Meenan <pmeenan@chromium.org>
Commit-Queue: Tsuyoshi Horo <horo@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1257129}
2024-02-07 01:45:08 +00:00
2024-02-01 23:29:32 +00:00
2024-02-06 22:29:51 +00:00
2024-02-06 21:13:11 +00:00
2024-02-06 01:31:41 +00:00
2024-02-05 18:40:41 +00:00
2024-01-08 19:46:53 +00:00
2024-02-02 16:36:25 +00:00
2024-01-27 05:54:11 +00:00

Logo Chromium

Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.

The project's web site is https://www.chromium.org.

To check out the source code locally, don't use git clone! Instead, follow the instructions on how to get the code.

Documentation in the source is rooted in docs/README.md.

Learn how to Get Around the Chromium Source Code Directory Structure.

For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.

If you found a bug, please file it at https://crbug.com/new.

Description
Chromium是一个开源浏览器项目,提供了一种安全、快速、稳定的方法来体验Web。该浏览器可以在多个平台上下载,包括Mac、Windows、Linux和ChromiumOS。项目原始地址: https://chromium.googlesource.com/chromium/src.git
https://www.mobibrw.com/gitea-mirrors/chromium/src.git
Readme BSD-3-Clause 89 GiB
Languages
C++ 74.4%
Java 8.2%
Objective-C++ 4.6%
TypeScript 4%
Python 2.5%
Other 6.1%