Index: chrome/browser/ui/autofill/save_card_bubble_controller_impl.h |
diff --git a/chrome/browser/ui/autofill/save_card_bubble_controller_impl.h b/chrome/browser/ui/autofill/save_card_bubble_controller_impl.h |
index aa02fa34a04c79223263f96bf4490d143032f5a9..58a80b29f4d638044f77ffa4494c75ec6f90a667 100644 |
--- a/chrome/browser/ui/autofill/save_card_bubble_controller_impl.h |
+++ b/chrome/browser/ui/autofill/save_card_bubble_controller_impl.h |
@@ -5,6 +5,8 @@ |
#ifndef CHROME_BROWSER_UI_AUTOFILL_SAVE_CARD_BUBBLE_CONTROLLER_IMPL_H_ |
#define CHROME_BROWSER_UI_AUTOFILL_SAVE_CARD_BUBBLE_CONTROLLER_IMPL_H_ |
+#include <vector> |
+ |
#include "base/macros.h" |
#include "base/memory/scoped_ptr.h" |
#include "base/timer/elapsed_timer.h" |
@@ -76,7 +78,8 @@ class SaveCardBubbleControllerImpl |
void OnLegalMessageLinkClicked(const GURL& url) override; |
void OnBubbleClosed() override; |
- const LegalMessageLines& GetLegalMessageLines() const override; |
+ const std::vector<scoped_ptr<LegalMessageLine>>& GetLegalMessageLines() |
+ const override; |
protected: |
explicit SaveCardBubbleControllerImpl(content::WebContents* web_contents); |
@@ -116,7 +119,7 @@ class SaveCardBubbleControllerImpl |
bool is_reshow_; |
// If no legal message should be shown then this variable is an empty vector. |
- LegalMessageLines legal_message_lines_; |
+ std::vector<scoped_ptr<LegalMessageLine>> legal_message_lines_; |
// Used to measure the amount of time on a page; if it's less than some |
// reasonable limit, then don't close the bubble upon navigation. |