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

Side by Side Diff: chrome/browser/password_manager/password_manager_util_mac.mm

Issue 1133613007: Move password_manager_util and password_bubble_experiment to components (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@486739_componentise_experiment_utils_to_ios_sources
Patch Set: Created 5 years, 7 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
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698