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
3 // found in the LICENSE file.
5 #ifndef COMPONENTS_SIGNIN_IOS_BROWSER_MANAGE_ACCOUNTS_DELEGATE_H_
6 #define COMPONENTS_SIGNIN_IOS_BROWSER_MANAGE_ACCOUNTS_DELEGATE_H_
10 @protocol ManageAccountsDelegate
<NSObject
>
12 // Called when the user taps on a manage accounts button in a Google web
14 - (void)onManageAccounts
;
16 // Called when the user taps on go incognito button in a Google web property.
17 // |url| is the continuation URL received from the server. If it is valid,
18 // then this delegate should open an incognito tab and navigate to |url|.
19 // If it is not valid, then this delegate should open a new incognito tab.
20 - (void)onGoIncognito
:(const GURL
&)url
;
24 #endif // COMPONENTS_SIGNIN_IOS_BROWSER_MANAGE_ACCOUNTS_DELEGATE_H_