summaryrefslogtreecommitdiff
path: root/www/chromium/patches/patch-chrome_browser_chrome_browser_main_cc
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/patches/patch-chrome_browser_chrome_browser_main_cc')
-rw-r--r--www/chromium/patches/patch-chrome_browser_chrome_browser_main_cc53
1 files changed, 0 insertions, 53 deletions
diff --git a/www/chromium/patches/patch-chrome_browser_chrome_browser_main_cc b/www/chromium/patches/patch-chrome_browser_chrome_browser_main_cc
deleted file mode 100644
index 7772303..0000000
--- a/www/chromium/patches/patch-chrome_browser_chrome_browser_main_cc
+++ /dev/null
@@ -1,53 +0,0 @@
1Index: chrome/browser/chrome_browser_main.cc
2--- chrome/browser/chrome_browser_main.cc.orig
3+++ chrome/browser/chrome_browser_main.cc
4@@ -231,11 +231,11 @@
5
6 // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch
7 // of lacros-chrome is complete.
8-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)
9+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD)
10 #include "chrome/browser/first_run/upgrade_util_linux.h"
11 #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)
12
13-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
14+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
15 #include "components/crash/core/app/breakpad_linux.h"
16 #include "components/crash/core/app/crashpad.h"
17 #endif
18@@ -270,7 +270,7 @@
19
20 // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch
21 // of lacros-chrome is complete.
22-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || \
23+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD) || \
24 (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS))
25 #include "chrome/browser/metrics/desktop_session_duration/desktop_session_duration_tracker.h"
26 #include "chrome/browser/metrics/desktop_session_duration/touch_mode_stats_tracker.h"
27@@ -1007,7 +1007,7 @@ int ChromeBrowserMainParts::PreCreateThreadsImpl() {
28 AddFirstRunNewTabs(browser_creator_.get(), master_prefs_->new_tabs);
29 }
30
31-#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
32+#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
33 // Create directory for user-level Native Messaging manifest files. This
34 // makes it less likely that the directory will be created by third-party
35 // software with incorrect owner or permission. See crbug.com/725513 .
36@@ -1020,7 +1020,7 @@ int ChromeBrowserMainParts::PreCreateThreadsImpl() {
37 }
38 #endif // !BUILDFLAG(IS_ANDROID) && !BUILDFLAG(IS_CHROMEOS_ASH)
39
40-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_OPENBSD)
41+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
42 // Set the product channel for crash reports.
43 if (!crash_reporter::IsCrashpadEnabled()) {
44 breakpad::SetChannelCrashKey(
45@@ -1041,7 +1041,7 @@ int ChromeBrowserMainParts::PreCreateThreadsImpl() {
46
47 // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch
48 // of lacros-chrome is complete.
49-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || \
50+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD) || \
51 (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS))
52 metrics::DesktopSessionDurationTracker::Initialize();
53 ProfileActivityMetricsRecorder::Initialize();