Roll src/third_party/WebKit 9f7fb92:f103b33 (svn 202621:202622)
[chromium-blink-merge.git] / components / signin / ios / browser / manage_accounts_delegate.h
blobc117c7c5cda7624a1853de9a013e1079d476328b
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_
8 class GURL;
10 @protocol ManageAccountsDelegate<NSObject>
12 // Called when the user taps on a manage accounts button in a Google web
13 // property.
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;
22 @end
24 #endif // COMPONENTS_SIGNIN_IOS_BROWSER_MANAGE_ACCOUNTS_DELEGATE_H_