1// Copyright 2013 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.
4
5#ifndef CHROME_BROWSER_UI_SYNC_ONE_CLICK_SIGNIN_BUBBLE_LINKS_DELEGATE_H_
6#define CHROME_BROWSER_UI_SYNC_ONE_CLICK_SIGNIN_BUBBLE_LINKS_DELEGATE_H_
7
8#include "base/basictypes.h"
9#include "base/compiler_specific.h"
10#include "chrome/browser/ui/sync/one_click_signin_bubble_delegate.h"
11
12class Browser;
13
14class OneClickSigninBubbleLinksDelegate : public OneClickSigninBubbleDelegate {
15 public:
16  // |browser| must outlive the delegate.
17  explicit OneClickSigninBubbleLinksDelegate(Browser* browser);
18  virtual ~OneClickSigninBubbleLinksDelegate();
19
20 private:
21  // OneClickSigninBubbleDelegate:
22  virtual void OnLearnMoreLinkClicked(bool is_dialog) OVERRIDE;
23  virtual void OnAdvancedLinkClicked() OVERRIDE;
24
25  // Browser in which the links should be opened.
26  Browser* browser_;
27
28  DISALLOW_COPY_AND_ASSIGN(OneClickSigninBubbleLinksDelegate);
29};
30
31#endif  // CHROME_BROWSER_UI_SYNC_ONE_CLICK_SIGNIN_BUBBLE_LINKS_DELEGATE_H_
32