Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3242)

Unified Diff: chrome/browser/ui/sync/one_click_signin_bubble_links_delegate.h

Issue 18558009: Fix flaky test OneClickSigninBubbleViewBrowserTest::ShowBubble (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/sync/one_click_signin_bubble_links_delegate.h
diff --git a/chrome/browser/ui/sync/one_click_signin_bubble_links_delegate.h b/chrome/browser/ui/sync/one_click_signin_bubble_links_delegate.h
new file mode 100644
index 0000000000000000000000000000000000000000..e306709d864414183379795d2b4c4624b35320b3
--- /dev/null
+++ b/chrome/browser/ui/sync/one_click_signin_bubble_links_delegate.h
@@ -0,0 +1,31 @@
+// Copyright 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_UI_SYNC_ONE_CLICK_SIGNIN_BUBBLE_LINKS_DELEGATE_H_
+#define CHROME_BROWSER_UI_SYNC_ONE_CLICK_SIGNIN_BUBBLE_LINKS_DELEGATE_H_
+
+#include "base/basictypes.h"
+#include "base/compiler_specific.h"
+#include "chrome/browser/ui/sync/one_click_signin_bubble_delegate.h"
+
+class Browser;
+
+class OneClickSigninBubbleLinksDelegate : public OneClickSigninBubbleDelegate {
+ public:
+ // |browser| must outlive the delegate.
+ explicit OneClickSigninBubbleLinksDelegate(Browser* browser);
+ virtual ~OneClickSigninBubbleLinksDelegate();
+
+ private:
+ // OneClickSigninBubbleDelegate:
+ virtual void OnLearnMoreLinkClicked(bool is_dialog) OVERRIDE;
+ virtual void OnAdvancedLinkClicked() OVERRIDE;
+
+ // Browser in which the links should be opened.
+ Browser* browser_;
+
+ DISALLOW_COPY_AND_ASSIGN(OneClickSigninBubbleLinksDelegate);
+};
+
+#endif // CHROME_BROWSER_UI_SYNC_ONE_CLICK_SIGNIN_BUBBLE_LINKS_DELEGATE_H_

Powered by Google App Engine
This is Rietveld 408576698