| Index: chrome/browser/password_manager/native_backend_kwallet_x.h
|
| diff --git a/chrome/browser/password_manager/native_backend_kwallet_x.h b/chrome/browser/password_manager/native_backend_kwallet_x.h
|
| index 71696293769e9484f54f064d0f7725abd20fcf47..24d1d48ed8f6b4786966d5be2cbec92847ba5422 100644
|
| --- a/chrome/browser/password_manager/native_backend_kwallet_x.h
|
| +++ b/chrome/browser/password_manager/native_backend_kwallet_x.h
|
| @@ -14,6 +14,7 @@
|
| #include "base/memory/scoped_vector.h"
|
| #include "base/nix/xdg_util.h"
|
| #include "base/time/time.h"
|
| +#include "chrome/browser/password_manager/kwallet_dbus.h"
|
| #include "chrome/browser/password_manager/password_store_factory.h"
|
| #include "chrome/browser/password_manager/password_store_x.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| @@ -28,11 +29,6 @@ class PickleIterator;
|
| class WaitableEvent;
|
| }
|
|
|
| -namespace dbus {
|
| -class Bus;
|
| -class ObjectProxy;
|
| -}
|
| -
|
| // NativeBackend implementation using KWallet.
|
| class NativeBackendKWallet : public PasswordStoreX::NativeBackend {
|
| public:
|
| @@ -143,26 +139,16 @@ class NativeBackendKWallet : public PasswordStoreX::NativeBackend {
|
| // The local profile id, used to generate the folder name.
|
| const LocalProfileId profile_id_;
|
|
|
| + KWalletDBus kwallet_dbus_;
|
| +
|
| // The KWallet folder name, possibly based on the local profile id.
|
| std::string folder_name_;
|
|
|
| - // DBus handle for communication with klauncher and kwalletd.
|
| - scoped_refptr<dbus::Bus> session_bus_;
|
| - // Object proxy for kwalletd. We do not own this.
|
| - dbus::ObjectProxy* kwallet_proxy_;
|
| -
|
| // The name of the wallet we've opened. Set during Init().
|
| std::string wallet_name_;
|
| // The application name (e.g. "Chromium"), shown in KWallet auth dialogs.
|
| const std::string app_name_;
|
|
|
| - // KWallet DBus name
|
| - std::string dbus_service_name_;
|
| - // DBus path to KWallet interfaces
|
| - std::string dbus_path_;
|
| - // The name used for logging and by klauncher when starting KWallet
|
| - std::string kwalletd_name_;
|
| -
|
| DISALLOW_COPY_AND_ASSIGN(NativeBackendKWallet);
|
| };
|
|
|
|
|