Index: base/linux_util.h |
diff --git a/base/linux_util.h b/base/linux_util.h |
index 973a2b0dc64e0c8ed1f6d87eeceacc0c70482298..75b4ad4a3d5e0bc4ff89969f2fd0baf49c3b1e90 100644 |
--- a/base/linux_util.h |
+++ b/base/linux_util.h |
@@ -20,6 +20,12 @@ uint8_t* BGRAToRGBA(const uint8_t* pixels, int width, int height, int stride); |
// GetWinVersion() in base/win_util.h. |
std::string GetLinuxDistro(); |
+// Return true if we appear to be running under Gnome and should attempt to use |
+// some prefrences from the desktop environment (eg proxy settings), |
+// If someone adds support for other environments, this function could be |
+// replaced with one that returns an enum so we an specify Gnome, KDE, etc. |
+bool UseGnomeForSettings(); |
+ |
} // namespace base |
#endif // BASE_LINUX_UTIL_H__ |