OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/password_manager_util.h" | 5 #include "components/password_manager/core/browser/password_manager_util.h" |
6 | 6 |
7 #include <CoreFoundation/CoreFoundation.h> | 7 #include <CoreFoundation/CoreFoundation.h> |
8 #import <Foundation/Foundation.h> | 8 #import <Foundation/Foundation.h> |
9 #include <Security/Authorization.h> | 9 #include <Security/Authorization.h> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "base/mac/authorization_util.h" | 12 #include "base/mac/authorization_util.h" |
13 #include "base/mac/bundle_locations.h" | 13 #include "base/mac/bundle_locations.h" |
14 #include "base/mac/foundation_util.h" | 14 #include "base/mac/foundation_util.h" |
15 #include "base/mac/scoped_authorizationref.h" | 15 #include "base/mac/scoped_authorizationref.h" |
(...skipping 22 matching lines...) Expand all Loading... |
38 kAuthorizationFlagDestroyRights)); | 38 kAuthorizationFlagDestroyRights)); |
39 return authorization.get() != NULL; | 39 return authorization.get() != NULL; |
40 } | 40 } |
41 | 41 |
42 // TODO(dubroy): Implement on Mac. | 42 // TODO(dubroy): Implement on Mac. |
43 void GetOsPasswordStatus(const base::Callback<void(OsPasswordStatus)>& reply) { | 43 void GetOsPasswordStatus(const base::Callback<void(OsPasswordStatus)>& reply) { |
44 reply.Run(PASSWORD_STATUS_UNSUPPORTED); | 44 reply.Run(PASSWORD_STATUS_UNSUPPORTED); |
45 } | 45 } |
46 | 46 |
47 } // namespace password_manager_util | 47 } // namespace password_manager_util |
OLD | NEW |