Check USB device path access when prompting users to select a device.
[chromium-blink-merge.git] / chrome / browser / ui / cocoa / profiles / avatar_button_controller.h
blob8594029aa1f0250024fb4673ccc2597972f3c661
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 CHROME_BROWSER_UI_COCOA_PROFILES_AVATAR_BUTTON_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_COCOA_PROFILES_AVATAR_BUTTON_CONTROLLER_H_
8 #import <AppKit/AppKit.h>
10 #import "chrome/browser/ui/cocoa/profiles/avatar_base_controller.h"
12 class Browser;
14 // This view controller manages the button that sits in the top of the
15 // window frame when using multi-profiles, and shows the current profile's
16 // name. Clicking the button will open the profile menu.
17 @interface AvatarButtonController : AvatarBaseController {
18 @private
19 BOOL isThemedWindow_;
20 // Whether the signed in profile has an authentication error. Used to
21 // display an error icon next to the button text.
22 BOOL hasError_;
24 // Designated initializer.
25 - (id)initWithBrowser:(Browser*)browser;
27 @end
29 #endif // CHROME_BROWSER_UI_COCOA_PROFILES_AVATAR_BUTTON_CONTROLLER_H_