Skip to content

Commit

Permalink
Removed the log and changed the settings caption
Browse files Browse the repository at this point in the history
  • Loading branch information
uazo committed Nov 29, 2023
1 parent 5dd685f commit 21b9789
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions build/patches/00Add-cromite-flags-support.patch
Original file line number Diff line number Diff line change
Expand Up @@ -183,11 +183,11 @@ diff --git a/base/feature_list.cc b/base/feature_list.cc

void FeatureList::FinalizeInitialization() {
DCHECK(!initialized_);
+ LOG(INFO) << "---FinalizeInitialization";
+ //LOG(INFO) << "---FinalizeInitialization";
+ for(auto const& [key, value]: internal::GetListOfNewFeatureState()) {
+ LOG(INFO) << "---key " << key->name
+ << " "
+ << (value == base::FEATURE_ENABLED_BY_DEFAULT ? "1" : "0");
+ // LOG(INFO) << "---key " << key->name
+ // << " "
+ // << (value == base::FEATURE_ENABLED_BY_DEFAULT ? "1" : "0");
+ RegisterOverride(key->name,
+ value == base::FEATURE_ENABLED_BY_DEFAULT
+ ? OverrideState::OVERRIDE_ENABLE_FEATURE
Expand Down Expand Up @@ -348,7 +348,7 @@ diff --git a/chrome/android/java/res/values/values.xml b/chrome/android/java/res
<!-- Contextual Search -->
<item name="contextual_search_sheet_full_height_fraction" format="float" type="dimen">0.95</item>

+ <string name="cromite_flags_title">Cromite Flags (wip)</string>
+ <string name="cromite_flags_title">Open Cromite flags list</string>
+ <string name="cromite_flags_url">chrome://flags/cromite</string>
+
<!-- Tablet tab strip -->
Expand Down

0 comments on commit 21b9789

Please sign in to comment.