Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(496)

Side by Side Diff: components/os_crypt/kwallet_dbus.cc

Issue 2086123003: Move KWalletDBus util from the Password Manager to OSCrypt. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « components/os_crypt/kwallet_dbus.h ('k') | components/os_crypt/kwallet_dbus_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « components/os_crypt/kwallet_dbus.h ('k') | components/os_crypt/kwallet_dbus_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698