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 <chrome/browser/password_manager/kwallet_dbus.h> | 5 #include <components/os_crypt/kwallet_dbus.h> |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
11 #include "dbus/bus.h" | 11 #include "dbus/bus.h" |
12 #include "dbus/message.h" | 12 #include "dbus/message.h" |
13 #include "dbus/object_proxy.h" | 13 #include "dbus/object_proxy.h" |
14 | 14 |
15 namespace { | 15 namespace { |
(...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
335 return CANNOT_CONTACT; | 335 return CANNOT_CONTACT; |
336 } | 336 } |
337 dbus::MessageReader reader(response.get()); | 337 dbus::MessageReader reader(response.get()); |
338 if (!reader.PopBool(success_ptr)) { | 338 if (!reader.PopBool(success_ptr)) { |
339 LOG(ERROR) << "Error reading response from " << kwalletd_name_ | 339 LOG(ERROR) << "Error reading response from " << kwalletd_name_ |
340 << " (createFolder): " << response->ToString(); | 340 << " (createFolder): " << response->ToString(); |
341 return CANNOT_READ; | 341 return CANNOT_READ; |
342 } | 342 } |
343 return SUCCESS; | 343 return SUCCESS; |
344 } | 344 } |
OLD | NEW |