OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "components/os_crypt/key_storage_util_linux.h" | 5 #include "components/os_crypt/key_storage_util_linux.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 | 8 |
9 namespace os_crypt { | 9 namespace os_crypt { |
10 | 10 |
(...skipping 24 matching lines...) Expand all Loading... |
35 return SelectedLinuxBackend::KWALLET5; | 35 return SelectedLinuxBackend::KWALLET5; |
36 case base::nix::DESKTOP_ENVIRONMENT_GNOME: | 36 case base::nix::DESKTOP_ENVIRONMENT_GNOME: |
37 case base::nix::DESKTOP_ENVIRONMENT_UNITY: | 37 case base::nix::DESKTOP_ENVIRONMENT_UNITY: |
38 case base::nix::DESKTOP_ENVIRONMENT_XFCE: | 38 case base::nix::DESKTOP_ENVIRONMENT_XFCE: |
39 return SelectedLinuxBackend::GNOME_ANY; | 39 return SelectedLinuxBackend::GNOME_ANY; |
40 // KDE3 didn't use DBus, which our KWallet store uses. | 40 // KDE3 didn't use DBus, which our KWallet store uses. |
41 case base::nix::DESKTOP_ENVIRONMENT_KDE3: | 41 case base::nix::DESKTOP_ENVIRONMENT_KDE3: |
42 case base::nix::DESKTOP_ENVIRONMENT_OTHER: | 42 case base::nix::DESKTOP_ENVIRONMENT_OTHER: |
43 return SelectedLinuxBackend::BASIC_TEXT; | 43 return SelectedLinuxBackend::BASIC_TEXT; |
44 } | 44 } |
| 45 |
| 46 NOTREACHED(); |
| 47 return SelectedLinuxBackend::BASIC_TEXT; |
45 } | 48 } |
46 | 49 |
47 } // namespace os_crypt | 50 } // namespace os_crypt |
OLD | NEW |