blob: 63b6e5573b98e58f07be1fb0ee6f6e5b28418599 [file] [log] [blame]
// Copyright 2018 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_SIGNIN_AUTHENTICATION_SERVICE_DELEGATE_H_
#define IOS_CHROME_BROWSER_SIGNIN_AUTHENTICATION_SERVICE_DELEGATE_H_
#import "base/ios/block_types.h"
#include "base/macros.h"
// Delegate for AuthenticationService.
class AuthenticationServiceDelegate {
public:
AuthenticationServiceDelegate() = default;
virtual ~AuthenticationServiceDelegate() = default;
// Invoked by AuthenticationService after the user has signed out. All the
// local browsing data must be cleared out, then |completion| called.
virtual void ClearBrowsingData(ProceduralBlock completion) = 0;
private:
DISALLOW_COPY_AND_ASSIGN(AuthenticationServiceDelegate);
};
#endif // IOS_CHROME_BROWSER_SIGNIN_AUTHENTICATION_SERVICE_DELEGATE_H_