diff options
Diffstat (limited to 'www/chromium-uc/patches/extra/ungoogled-chromium/add-ungoogled-flag-headers.patch')
| -rw-r--r-- | www/chromium-uc/patches/extra/ungoogled-chromium/add-ungoogled-flag-headers.patch | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/www/chromium-uc/patches/extra/ungoogled-chromium/add-ungoogled-flag-headers.patch b/www/chromium-uc/patches/extra/ungoogled-chromium/add-ungoogled-flag-headers.patch new file mode 100644 index 0000000..4a78da1 --- /dev/null +++ b/www/chromium-uc/patches/extra/ungoogled-chromium/add-ungoogled-flag-headers.patch | |||
| @@ -0,0 +1,76 @@ | |||
| 1 | --- chrome/browser/about_flags.cc.orig | ||
| 2 | +++ chrome/browser/about_flags.cc | ||
| 3 | @@ -2728,7 +2728,13 @@ const FeatureEntry::FeatureVariation kWi | ||
| 4 | // calculate and verify checksum. | ||
| 5 | // | ||
| 6 | // When adding a new choice, add it to the end of the list. | ||
| 7 | +#include "chrome/browser/ungoogled_flag_choices.h" | ||
| 8 | +#include "chrome/browser/bromite_flag_choices.h" | ||
| 9 | +#include "chrome/browser/ungoogled_platform_flag_choices.h" | ||
| 10 | const FeatureEntry kFeatureEntries[] = { | ||
| 11 | +#include "chrome/browser/ungoogled_flag_entries.h" | ||
| 12 | +#include "chrome/browser/bromite_flag_entries.h" | ||
| 13 | +#include "chrome/browser/ungoogled_platform_flag_entries.h" | ||
| 14 | // Include generated flags for flag unexpiry; see //docs/flag_expiry.md and | ||
| 15 | // //tools/flags/generate_unexpire_flags.py. | ||
| 16 | #include "build/chromeos_buildflags.h" | ||
| 17 | --- /dev/null | ||
| 18 | +++ chrome/browser/bromite_flag_choices.h | ||
| 19 | @@ -0,0 +1,7 @@ | ||
| 20 | +// Copyright (c) 2020 The ungoogled-chromium Authors. All rights reserved. | ||
| 21 | +// Use of this source code is governed by a BSD-style license that can be | ||
| 22 | +// found in the LICENSE file. | ||
| 23 | + | ||
| 24 | +#ifndef CHROME_BROWSER_BROMITE_FLAG_CHOICES_H_ | ||
| 25 | +#define CHROME_BROWSER_BROMITE_FLAG_CHOICES_H_ | ||
| 26 | +#endif // CHROME_BROWSER_BROMITE_FLAG_CHOICES_H_ | ||
| 27 | --- /dev/null | ||
| 28 | +++ chrome/browser/bromite_flag_entries.h | ||
| 29 | @@ -0,0 +1,7 @@ | ||
| 30 | +// Copyright (c) 2020 The ungoogled-chromium Authors. All rights reserved. | ||
| 31 | +// Use of this source code is governed by a BSD-style license that can be | ||
| 32 | +// found in the LICENSE file. | ||
| 33 | + | ||
| 34 | +#ifndef CHROME_BROWSER_BROMITE_FLAG_ENTRIES_H_ | ||
| 35 | +#define CHROME_BROWSER_BROMITE_FLAG_ENTRIES_H_ | ||
| 36 | +#endif // CHROME_BROWSER_BROMITE_FLAG_ENTRIES_H_ | ||
| 37 | --- /dev/null | ||
| 38 | +++ chrome/browser/ungoogled_flag_choices.h | ||
| 39 | @@ -0,0 +1,7 @@ | ||
| 40 | +// Copyright (c) 2020 The ungoogled-chromium Authors. All rights reserved. | ||
| 41 | +// Use of this source code is governed by a BSD-style license that can be | ||
| 42 | +// found in the LICENSE file. | ||
| 43 | + | ||
| 44 | +#ifndef CHROME_BROWSER_UNGOOGLED_FLAG_CHOICES_H_ | ||
| 45 | +#define CHROME_BROWSER_UNGOOGLED_FLAG_CHOICES_H_ | ||
| 46 | +#endif // CHROME_BROWSER_UNGOOGLED_FLAG_CHOICES_H_ | ||
| 47 | --- /dev/null | ||
| 48 | +++ chrome/browser/ungoogled_flag_entries.h | ||
| 49 | @@ -0,0 +1,7 @@ | ||
| 50 | +// Copyright (c) 2020 The ungoogled-chromium Authors. All rights reserved. | ||
| 51 | +// Use of this source code is governed by a BSD-style license that can be | ||
| 52 | +// found in the LICENSE file. | ||
| 53 | + | ||
| 54 | +#ifndef CHROME_BROWSER_UNGOOGLED_FLAG_ENTRIES_H_ | ||
| 55 | +#define CHROME_BROWSER_UNGOOGLED_FLAG_ENTRIES_H_ | ||
| 56 | +#endif // CHROME_BROWSER_UNGOOGLED_FLAG_ENTRIES_H_ | ||
| 57 | --- /dev/null | ||
| 58 | +++ chrome/browser/ungoogled_platform_flag_choices.h | ||
| 59 | @@ -0,0 +1,7 @@ | ||
| 60 | +// Copyright (c) 2020 The ungoogled-chromium Authors. All rights reserved. | ||
| 61 | +// Use of this source code is governed by a BSD-style license that can be | ||
| 62 | +// found in the LICENSE file. | ||
| 63 | + | ||
| 64 | +#ifndef CHROME_BROWSER_UNGOOGLED_PLATFORM_FLAG_CHOICES_H_ | ||
| 65 | +#define CHROME_BROWSER_UNGOOGLED_PLATFORM_FLAG_CHOICES_H_ | ||
| 66 | +#endif // CHROME_BROWSER_UNGOOGLED_PLATFORM_FLAG_CHOICES_H_ | ||
| 67 | --- /dev/null | ||
| 68 | +++ chrome/browser/ungoogled_platform_flag_entries.h | ||
| 69 | @@ -0,0 +1,7 @@ | ||
| 70 | +// Copyright (c) 2020 The ungoogled-chromium Authors. All rights reserved. | ||
| 71 | +// Use of this source code is governed by a BSD-style license that can be | ||
| 72 | +// found in the LICENSE file. | ||
| 73 | + | ||
| 74 | +#ifndef CHROME_BROWSER_UNGOOGLED_PLATFORM_FLAG_ENTRIES_H_ | ||
| 75 | +#define CHROME_BROWSER_UNGOOGLED_PLATFORM_FLAG_ENTRIES_H_ | ||
| 76 | +#endif // CHROME_BROWSER_UNGOOGLED_PLATFORM_FLAG_ENTRIES_H_ | ||
