Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 #include "chrome/browser/ui/bookmarks/bookmark_bubble_sign_in_delegate.h" | |
| 6 #include "chrome/browser/ui/chrome_pages.h" | |
|
sky
2013/07/17 16:08:02
nit: newline between 5/6.
fdoray
2013/07/17 19:39:56
Done.
| |
| 7 #include "chrome/browser/ui/sync/sync_promo_ui.h" | |
| 8 | |
| 9 BookmarkBubbleSignInDelegate::BookmarkBubbleSignInDelegate(Browser* browser) | |
| 10 : browser_(browser) {} | |
| 11 | |
| 12 void BookmarkBubbleSignInDelegate::OnSignInLinkClicked() { | |
| 13 chrome::ShowBrowserSignin(browser_, SyncPromoUI::SOURCE_BOOKMARK_BUBBLE); | |
|
sky
2013/07/17 16:08:02
How do you know browser_ is valid at the time the
fdoray
2013/07/17 19:39:56
Done. If browser_ is no longer valid, I pick eithe
| |
| 14 } | |
| OLD | NEW |