blob: c426ac6bf4fa60d8562fb6032467e45149ed54c1 [file] [log] [blame]
// 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_QR_SCANNER_QR_SCANNER_PRESENTING_H_
#define IOS_CHROME_BROWSER_UI_QR_SCANNER_QR_SCANNER_PRESENTING_H_
// QRScannerPresenting contains methods that control how the QR scanner UI is
// dismissed on screen.
@protocol QRScannerPresenting
// Asks the implementer to dismiss the given |controller| and call the given
// |completion| afterwards.
- (void)dismissQRScannerViewController:(UIViewController*)controller
completion:(void (^)(void))completion;
@end
#endif // IOS_CHROME_BROWSER_UI_QR_SCANNER_QR_SCANNER_PRESENTING_H_