Index: ios/chrome/browser/ui/settings/password_details_collection_view_controller_for_testing.h |
diff --git a/ios/chrome/browser/ui/settings/password_details_collection_view_controller_for_testing.h b/ios/chrome/browser/ui/settings/password_details_collection_view_controller_for_testing.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..5a1dc387ad2d116957220a435ef70c2b5f41cfb1 |
--- /dev/null |
+++ b/ios/chrome/browser/ui/settings/password_details_collection_view_controller_for_testing.h |
@@ -0,0 +1,20 @@ |
+// Copyright 2017 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef IOS_CHROME_BROWSER_UI_SETTINGS_PASSWORD_DETAILS_COLLECTION_VIEW_CONTROLLER_FOR_TESTING_H_ |
+#define IOS_CHROME_BROWSER_UI_SETTINGS_PASSWORD_DETAILS_COLLECTION_VIEW_CONTROLLER_FOR_TESTING_H_ |
+ |
+#import "ios/chrome/browser/ui/settings/password_details_collection_view_controller.h" |
+ |
+@interface PasswordDetailsCollectionViewController (ForTesting) |
+ |
+// Allows to replace a |reauthenticationModule| for a fake one in integration |
+// tests, where the testing code cannot control the creation of the |
+// controller. |
+- (void)setReauthenticationModule: |
+ (id<ReauthenticationProtocol>)reauthenticationModule; |
+ |
+@end |
+ |
+#endif // IOS_CHROME_BROWSER_UI_SETTINGS_PASSWORD_DETAILS_COLLECTION_VIEW_CONTROLLER_FOR_TESTING_H_ |