Add new certificateProvider extension API.
[chromium-blink-merge.git] / chrome / browser / ui / cocoa / keystone_infobar_delegate.h
blob7102ea8ae67652ac3091dc8d938655c028ebea59
1 // Copyright (c) 2011 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 CHROME_BROWSER_UI_COCOA_KEYSTONE_INFOBAR_DELEGATE_H_
6 #define CHROME_BROWSER_UI_COCOA_KEYSTONE_INFOBAR_DELEGATE_H_
8 class Profile;
10 class KeystoneInfoBar {
11 public:
12 // If the application is Keystone-enabled and not on a read-only filesystem
13 // (capable of being auto-updated), and Keystone indicates that it needs
14 // ticket promotion, PromotionInfoBar displays an info bar asking the user
15 // to promote the ticket. The user will need to authenticate in order to
16 // gain authorization to perform the promotion. The info bar is not shown
17 // if its "don't ask" button was ever clicked, if the "don't check default
18 // browser" command-line flag is present, on the very first launch, or if
19 // another info bar is already showing in the active tab.
20 static void PromotionInfoBar(Profile* profile);
23 #endif // CHROME_BROWSER_UI_COCOA_KEYSTONE_INFOBAR_DELEGATE_H_