OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/password_manager/core/browser/webdata/password_web_data_ser
vice_win.h" | 5 #include "components/password_manager/core/browser/webdata/password_web_data_ser
vice_win.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/message_loop/message_loop_proxy.h" | 8 #include "base/message_loop/message_loop_proxy.h" |
9 #include "components/os_crypt/ie7_password_win.h" | 9 #include "components/os_crypt/ie7_password_win.h" |
10 #include "components/password_manager/core/browser/webdata/logins_table.h" | 10 #include "components/password_manager/core/browser/webdata/logins_table.h" |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 IE7PasswordInfo result; | 58 IE7PasswordInfo result; |
59 LoginsTable::FromWebDatabase(db)->GetIE7Login(info, &result); | 59 LoginsTable::FromWebDatabase(db)->GetIE7Login(info, &result); |
60 return scoped_ptr<WDTypedResult>( | 60 return scoped_ptr<WDTypedResult>( |
61 new WDResult<IE7PasswordInfo>(PASSWORD_IE7_RESULT, result)); | 61 new WDResult<IE7PasswordInfo>(PASSWORD_IE7_RESULT, result)); |
62 } | 62 } |
63 | 63 |
64 //////////////////////////////////////////////////////////////////////////////// | 64 //////////////////////////////////////////////////////////////////////////////// |
65 | 65 |
66 PasswordWebDataService::PasswordWebDataService( | 66 PasswordWebDataService::PasswordWebDataService( |
67 scoped_refptr<base::MessageLoopProxy> ui_thread) | 67 scoped_refptr<base::MessageLoopProxy> ui_thread) |
68 : WebDataServiceBase(NULL, ProfileErrorCallback(), ui_thread) { | 68 : WebDataServiceBase(nullptr, ProfileErrorCallback(), ui_thread) { |
69 } | 69 } |
70 | 70 |
71 PasswordWebDataService::~PasswordWebDataService() { | 71 PasswordWebDataService::~PasswordWebDataService() { |
72 } | 72 } |
OLD | NEW |