OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/browser/ui/website_settings/chooser_bubble_delegate.h" | 5 #include "chrome/browser/ui/website_settings/chooser_bubble_delegate.h" |
6 | 6 |
7 ChooserBubbleDelegate::ChooserBubbleDelegate() {} | 7 #include "base/logging.h" |
| 8 |
| 9 ChooserBubbleDelegate::ChooserBubbleDelegate(Browser* browser) |
| 10 : browser_(browser) { |
| 11 DCHECK(browser_); |
| 12 } |
8 | 13 |
9 ChooserBubbleDelegate::~ChooserBubbleDelegate() {} | 14 ChooserBubbleDelegate::~ChooserBubbleDelegate() {} |
10 | 15 |
11 std::string ChooserBubbleDelegate::GetName() const { | 16 std::string ChooserBubbleDelegate::GetName() const { |
12 return "ChooserBubble"; | 17 return "ChooserBubble"; |
13 } | 18 } |
OLD | NEW |