From 9e6c9bde9a6014b1cb703d064acfb5c07462f272 Mon Sep 17 00:00:00 2001 From: "thestig@chromium.org" Date: Tue, 17 Jul 2012 23:40:17 +0000 Subject: Linux: Detect Unity as a desktop environment. BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/10735034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147134 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/password_manager/password_store_factory.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'chrome/browser/password_manager') diff --git a/chrome/browser/password_manager/password_store_factory.cc b/chrome/browser/password_manager/password_store_factory.cc index 57a135c..bee596d 100644 --- a/chrome/browser/password_manager/password_store_factory.cc +++ b/chrome/browser/password_manager/password_store_factory.cc @@ -154,6 +154,7 @@ PasswordStoreFactory::BuildServiceInstanceFor(Profile* profile) const { else backend.reset(); } else if (desktop_env == base::nix::DESKTOP_ENVIRONMENT_GNOME || + desktop_env == base::nix::DESKTOP_ENVIRONMENT_UNITY || desktop_env == base::nix::DESKTOP_ENVIRONMENT_XFCE) { #if defined(USE_GNOME_KEYRING) VLOG(1) << "Trying GNOME keyring for password storage."; -- cgit v1.1