Index: components/autofill/core/browser/ui/mock_save_card_bubble_controller.cc |
diff --git a/components/autofill/core/browser/ui/mock_save_card_bubble_controller.cc b/components/autofill/core/browser/ui/mock_save_card_bubble_controller.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..cfe110dc11f1e3c521862af079aef1fb8f9b1dba |
--- /dev/null |
+++ b/components/autofill/core/browser/ui/mock_save_card_bubble_controller.cc |
@@ -0,0 +1,22 @@ |
+// Copyright 2017 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 "components/autofill/core/browser/ui/mock_save_card_bubble_controller.h" |
+ |
+namespace autofill { |
+ |
+MockSaveCardBubbleController::MockSaveCardBubbleController() {} |
+ |
+MockSaveCardBubbleController::~MockSaveCardBubbleController() {} |
+ |
+void MockSaveCardBubbleController::SetCvcEnteredByUser( |
+ const base::string16& cvc) { |
+ cvc_entered_by_user_ = cvc; |
+} |
+ |
+base::string16 MockSaveCardBubbleController::GetCvcEnteredByUser() const { |
+ return cvc_entered_by_user_; |
+} |
+ |
+} // namespace autofill |