[cr147] //components/legion renamed to private_api

Chromium changes:
https://chromium.googlesource.com/chromium/src/+/dbefe14f890716a7ca5a58a709cd774118b2660f

commit dbefe14f890716a7ca5a58a709cd774118b2660f
Author: Oleh Lamzin <lamzin@google.com>
Date:   Wed Feb 18 11:30:18 2026 -0800

    private_ai: Rename components/legion/ folder

    For some period of time we had to use "legion" name for our code, but
    now we can use "private_ai".

    BYPASS_LARGE_CHANGE_WARNING: folder renaming

    Bug: b:484265460
    Change-Id: I12f51d5d72618494372b5ac3e43c8323ea748cb9
    Bypass-Check-License: moving files
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7582260
    Reviewed-by: Saeid Eid <saeideid@google.com>
    Commit-Queue: Oleh Lamzin <lamzin@google.com>
    Reviewed-by: Nico Weber <thakis@chromium.org>
    Reviewed-by: Mike West <mkwst@chromium.org>
    Reviewed-by: Christian Dullweber <dullweber@chromium.org>
    Reviewed-by: Elly FJ <ellyjones@chromium.org>
    Reviewed-by: Arthur Sonzogni <arthursonzogni@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#1586583}
This commit is contained in:
Claudio DeSouza
2026-03-26 19:25:09 -04:00
committed by Max Karolinskiy
parent b96b1f084c
commit 9ce757ce9a
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -192,7 +192,7 @@ source_set("unit_tests") {
"//chrome/app:command_ids",
"//chrome/browser/ui/toasts",
"//chrome/common:chrome_features",
"//components/legion",
"//components/private_ai",
"//components/translate/core/common",
"//extensions/common",
"//ui/accessibility:ax_base",
+1 -1
View File
@@ -36,7 +36,7 @@ include_rules += [
"+components/history_clusters/core/features.h",
"+components/history_clusters/core/on_device_clustering_features.h",
"+components/history_embeddings/core/history_embeddings_features.h",
"+components/legion/features.h",
"+components/private_ai/features.h",
"+components/lens/lens_features.h",
"+components/manta/features.h",
"+components/metrics/metrics_features.h",
+1 -1
View File
@@ -29,7 +29,6 @@
#include "components/history_clusters/core/features.h"
#include "components/history_clusters/core/on_device_clustering_features.h"
#include "components/history_embeddings/core/history_embeddings_features.h"
#include "components/legion/features.h"
#include "components/lens/lens_features.h"
#include "components/manta/features.h"
#include "components/metrics/metrics_features.h"
@@ -44,6 +43,7 @@
#include "components/permissions/features.h"
#include "components/plus_addresses/core/common/features.h"
#include "components/privacy_sandbox/privacy_sandbox_features.h"
#include "components/private_ai/features.h"
#include "components/safe_browsing/core/common/features.h"
#include "components/search/ntp_features.h"
#include "components/segmentation_platform/public/features.h"
@@ -5,7 +5,7 @@
#include "base/feature_override.h"
#include <components/legion/features.cc>
#include <components/private_ai/features.cc>
namespace private_ai {