| Index: chrome/browser/ui/autofill/test_autofill_credit_card_bubble.cc
|
| diff --git a/chrome/browser/ui/autofill/test_autofill_credit_card_bubble.cc b/chrome/browser/ui/autofill/test_autofill_credit_card_bubble.cc
|
| deleted file mode 100644
|
| index 237b9699dc5cbae24c383463487bc3323b239add..0000000000000000000000000000000000000000
|
| --- a/chrome/browser/ui/autofill/test_autofill_credit_card_bubble.cc
|
| +++ /dev/null
|
| @@ -1,40 +0,0 @@
|
| -// 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.
|
| -
|
| -#include "chrome/browser/ui/autofill/test_autofill_credit_card_bubble.h"
|
| -
|
| -namespace autofill {
|
| -
|
| -// static
|
| -base::WeakPtr<TestAutofillCreditCardBubble>
|
| - TestAutofillCreditCardBubble::Create(
|
| - const base::WeakPtr<AutofillCreditCardBubbleController>& controller) {
|
| - return (new TestAutofillCreditCardBubble(controller))->GetWeakPtr();
|
| -}
|
| -
|
| -TestAutofillCreditCardBubble::~TestAutofillCreditCardBubble() {}
|
| -
|
| -void TestAutofillCreditCardBubble::Show() {
|
| - showing_ = true;
|
| -}
|
| -
|
| -void TestAutofillCreditCardBubble::Hide() {
|
| - delete this;
|
| -}
|
| -
|
| -bool TestAutofillCreditCardBubble::IsHiding() const {
|
| - return !showing_;
|
| -}
|
| -
|
| -base::WeakPtr<TestAutofillCreditCardBubble>
|
| - TestAutofillCreditCardBubble::GetWeakPtr() {
|
| - return weak_ptr_factory_.GetWeakPtr();
|
| -}
|
| -
|
| -TestAutofillCreditCardBubble::TestAutofillCreditCardBubble(
|
| - const base::WeakPtr<AutofillCreditCardBubbleController>& controller)
|
| - : showing_(false),
|
| - weak_ptr_factory_(this) {}
|
| -
|
| -} // namespace autofill
|
|
|