summaryrefslogtreecommitdiffstats
path: root/www/chromium/files/patch-chrome_browser_chrome__browser__main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/files/patch-chrome_browser_chrome__browser__main.cc')
-rw-r--r--www/chromium/files/patch-chrome_browser_chrome__browser__main.cc46
1 files changed, 43 insertions, 3 deletions
diff --git a/www/chromium/files/patch-chrome_browser_chrome__browser__main.cc b/www/chromium/files/patch-chrome_browser_chrome__browser__main.cc
index a29a6f4..793212a 100644
--- a/www/chromium/files/patch-chrome_browser_chrome__browser__main.cc
+++ b/www/chromium/files/patch-chrome_browser_chrome__browser__main.cc
@@ -1,6 +1,6 @@
---- chrome/browser/chrome_browser_main.cc.orig 2017-03-09 20:04:28 UTC
+--- chrome/browser/chrome_browser_main.cc.orig 2017-04-19 19:06:29 UTC
+++ chrome/browser/chrome_browser_main.cc
-@@ -180,7 +180,7 @@
+@@ -181,7 +181,7 @@
#include "chrome/browser/lifetime/application_lifetime.h"
#endif // defined(OS_ANDROID)
@@ -9,7 +9,38 @@
#include "chrome/browser/first_run/upgrade_util_linux.h"
#endif // defined(OS_LINUX) && !defined(OS_CHROMEOS)
-@@ -1173,11 +1173,11 @@ int ChromeBrowserMainParts::PreCreateThr
+@@ -276,7 +276,7 @@
+ #endif
+
+ #if defined(OS_WIN) || defined(OS_MACOSX) || \
+- (defined(OS_LINUX) && !defined(OS_CHROMEOS))
++ (defined(OS_LINUX) && !defined(OS_CHROMEOS) || defined(OS_BSD))
+ #include "chrome/browser/metrics/desktop_session_duration/desktop_session_duration_tracker.h"
+ #endif
+
+@@ -479,10 +479,10 @@ void RegisterComponentsForUpdate() {
+
+ #if !defined(OS_ANDROID)
+ RegisterPepperFlashComponent(cus);
+-#if !defined(OS_CHROMEOS)
++#if !defined(OS_CHROMEOS) && !defined(OS_BSD)
+ RegisterSwiftShaderComponent(cus);
+ RegisterWidevineCdmComponent(cus);
+-#endif // !defined(OS_CHROMEOS)
++#endif // !defined(OS_CHROMEOS) && !defined(OS_BSD)
+ #endif // !defined(OS_ANDROID)
+
+ #if !defined(DISABLE_NACL) && !defined(OS_ANDROID)
+@@ -764,7 +764,7 @@ void ChromeBrowserMainParts::SetupFieldT
+ field_trial_synchronizer_ = new FieldTrialSynchronizer();
+
+ #if defined(OS_WIN) || defined(OS_MACOSX) || \
+- (defined(OS_LINUX) && !defined(OS_CHROMEOS))
++ (defined(OS_LINUX) && !defined(OS_CHROMEOS) || defined(OS_BSD))
+ metrics::DesktopSessionDurationTracker::Initialize();
+ #endif
+
+@@ -1194,11 +1194,11 @@ int ChromeBrowserMainParts::PreCreateThr
}
#endif // !defined(OS_ANDROID) && !defined(OS_CHROMEOS)
@@ -23,3 +54,12 @@
// Initialize tracking synchronizer system.
tracking_synchronizer_ = new metrics::TrackingSynchronizer(
+@@ -1387,7 +1387,7 @@ void ChromeBrowserMainParts::PreBrowserS
+
+ // Start the tab manager here so that we give the most amount of time for the
+ // other services to start up before we start adjusting the oom priority.
+-#if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX)
++#if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX) || defined(OS_BSD)
+ g_browser_process->GetTabManager()->Start();
+ #endif
+
OpenPOWER on IntegriCloud