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

Side by Side Diff: chrome/browser/password_manager/password_manager_util_ios.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 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 "chrome/browser/password_manager/password_manager_util.h" 5 #include "components/password_manager/core/browser/password_manager_util.h"
6 6
7 namespace password_manager_util { 7 namespace password_manager_util {
8 8
9 bool AuthenticateUser(gfx::NativeWindow window) { 9 bool AuthenticateUser(gfx::NativeWindow window) {
10 // Per the header comment, since reauthentication is not supported on iOS, 10 // Per the header comment, since reauthentication is not supported on iOS,
11 // this always returns true 11 // this always returns true
12 return true; 12 return true;
13 } 13 }
14 14
15 void GetOsPasswordStatus(const base::Callback<void(OsPasswordStatus)>& reply) { 15 void GetOsPasswordStatus(const base::Callback<void(OsPasswordStatus)>& reply) {
16 // No such thing on iOS. 16 // No such thing on iOS.
17 reply.Run(PASSWORD_STATUS_UNSUPPORTED); 17 reply.Run(PASSWORD_STATUS_UNSUPPORTED);
18 } 18 }
19 19
20 } // namespace password_manager_util 20 } // namespace password_manager_util
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698