| Index: chrome/browser/ui/website_settings/mock_permission_bubble_delegate.cc
|
| diff --git a/chrome/browser/ui/website_settings/mock_permission_bubble_delegate.cc b/chrome/browser/ui/website_settings/mock_permission_bubble_delegate.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..a953f4f063a13e4f89c5e6395a22d0ea0ddede2a
|
| --- /dev/null
|
| +++ b/chrome/browser/ui/website_settings/mock_permission_bubble_delegate.cc
|
| @@ -0,0 +1,15 @@
|
| +// Copyright 2014 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.
|
| +
|
| +#include "chrome/browser/ui/website_settings/mock_permission_bubble_delegate.h"
|
| +
|
| +MockPermissionBubbleDelegate::MockPermissionBubbleDelegate() {}
|
| +MockPermissionBubbleDelegate::~MockPermissionBubbleDelegate() {}
|
| +
|
| +void MockPermissionBubbleDelegate::SetText(const base::string16& text) {
|
| + ON_CALL(*this, GetMessageText()).WillByDefault(testing::Return(text));
|
| + ON_CALL(*this, GetMessageTextFragment()).WillByDefault(testing::Return(text));
|
| +}
|
| +
|
| +
|
|
|