OLD | NEW |
(Empty) | |
| 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. |
| 4 |
| 5 #include "chrome/browser/ui/website_settings/mock_permission_bubble_delegate.h" |
| 6 |
| 7 MockPermissionBubbleDelegate::MockPermissionBubbleDelegate() {} |
| 8 MockPermissionBubbleDelegate::~MockPermissionBubbleDelegate() {} |
| 9 |
| 10 void MockPermissionBubbleDelegate::SetText(const base::string16& text) { |
| 11 ON_CALL(*this, GetMessageText()).WillByDefault(testing::Return(text)); |
| 12 ON_CALL(*this, GetMessageTextFragment()).WillByDefault(testing::Return(text)); |
| 13 } |
| 14 |
| 15 |
OLD | NEW |