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

Side by Side Diff: components/password_manager/core/browser/password_manager_test_utils.cc

Issue 2777283004: Do not build Password Reuse on Android and iOS (Closed)
Patch Set: Changed #ifdef to OS defines Created 3 years, 8 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 "components/password_manager/core/browser/password_manager_test_utils.h " 5 #include "components/password_manager/core/browser/password_manager_test_utils.h "
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <ostream> 8 #include <ostream>
9 #include <string> 9 #include <string>
10 10
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 } 97 }
98 } 98 }
99 99
100 return !had_mismatched_actual_form && remaining_expectations.empty(); 100 return !had_mismatched_actual_form && remaining_expectations.empty();
101 } 101 }
102 102
103 MockPasswordStoreObserver::MockPasswordStoreObserver() {} 103 MockPasswordStoreObserver::MockPasswordStoreObserver() {}
104 104
105 MockPasswordStoreObserver::~MockPasswordStoreObserver() {} 105 MockPasswordStoreObserver::~MockPasswordStoreObserver() {}
106 106
107 // TODO(crbug.com/706392): Fix password reuse detection for Android.
108 #if !defined(OS_ANDROID) && !defined(OS_IOS)
107 MockPasswordReuseDetectorConsumer::MockPasswordReuseDetectorConsumer() {} 109 MockPasswordReuseDetectorConsumer::MockPasswordReuseDetectorConsumer() {}
108 110
109 MockPasswordReuseDetectorConsumer::~MockPasswordReuseDetectorConsumer() {} 111 MockPasswordReuseDetectorConsumer::~MockPasswordReuseDetectorConsumer() {}
112 #endif
110 113
111 } // namespace password_manager 114 } // namespace password_manager
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698