summaryrefslogtreecommitdiffstats
path: root/chrome/browser/password_manager
diff options
context:
space:
mode:
authorthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-17 23:40:17 +0000
committerthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-17 23:40:17 +0000
commit9e6c9bde9a6014b1cb703d064acfb5c07462f272 (patch)
tree4c7103c1eb326ca189008bb86a6e8b8558f2d666 /chrome/browser/password_manager
parent30a10dcfc0b5935a43557719cb19767419d4de13 (diff)
downloadchromium_src-9e6c9bde9a6014b1cb703d064acfb5c07462f272.zip
chromium_src-9e6c9bde9a6014b1cb703d064acfb5c07462f272.tar.gz
chromium_src-9e6c9bde9a6014b1cb703d064acfb5c07462f272.tar.bz2
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
Diffstat (limited to 'chrome/browser/password_manager')
-rw-r--r--chrome/browser/password_manager/password_store_factory.cc1
1 files changed, 1 insertions, 0 deletions
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.";