diff options
Diffstat (limited to 'www/chromium/files/patch-sync_util_get__session__name.cc')
-rw-r--r-- | www/chromium/files/patch-sync_util_get__session__name.cc | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/www/chromium/files/patch-sync_util_get__session__name.cc b/www/chromium/files/patch-sync_util_get__session__name.cc new file mode 100644 index 000000000000..8737638f1a5d --- /dev/null +++ b/www/chromium/files/patch-sync_util_get__session__name.cc @@ -0,0 +1,20 @@ +--- sync/util/get_session_name.cc.orig 2016-03-25 13:04:51 UTC ++++ sync/util/get_session_name.cc +@@ -15,7 +15,7 @@ + + #if defined(OS_CHROMEOS) + #include "chromeos/system/devicetype.h" +-#elif defined(OS_LINUX) ++#elif (defined(OS_LINUX) || defined(OS_BSD)) + #include "sync/util/get_session_name_linux.h" + #elif defined(OS_IOS) + #include "sync/util/get_session_name_ios.h" +@@ -51,7 +51,7 @@ std::string GetSessionNameSynchronously( + session_name = "Chromebook"; + break; + } +-#elif defined(OS_LINUX) ++#elif defined(OS_LINUX) || defined(OS_BSD) + session_name = internal::GetHostname(); + #elif defined(OS_IOS) + session_name = internal::GetComputerName(); |