Chromium Code Reviews| 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..852779cd17256b9cbce889e5765b16feadb95fec |
| --- /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 |reauthenticaionModule| for a fake one in integration |
|
sdefresne
2017/05/02 15:30:07
reauthenticaionModule → reauthenticationModule
vabr (Chromium)
2017/05/03 05:41:37
Done.
|
| +// 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_ |