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..7631d6158028d4e7564623330df417d569438ef1 100644 |
--- a/chrome/browser/ui/autofill/save_card_bubble_controller_impl.h |
+++ b/chrome/browser/ui/autofill/save_card_bubble_controller_impl.h |
@@ -29,33 +29,6 @@ class SaveCardBubbleControllerImpl |
// Sets up the controller for upload and shows the bubble. |
// |save_card_callback| will be invoked if and when the Save button is |
// pressed. The contents of |legal_message| will be displayed in the bubble. |
- // |
- // Example of valid |legal_message| data: |
- // { |
- // "line" : [ { |
- // "template" : "The legal documents are: {0} and {1}", |
- // "template_parameter" : [ { |
- // "display_text" : "Terms of Service", |
- // "url": "http://www.example.com/tos" |
- // }, { |
- // "display_text" : "Privacy Policy", |
- // "url": "http://www.example.com/pp" |
- // } ], |
- // }, { |
- // "template" : "This is the second line and it has no parameters" |
- // } ] |
- // } |
- // |
- // Caveats: |
- // 1. '{' and '}' may be displayed by escaping them with an apostrophe in the |
- // template string, e.g. "template" : "Here is a literal '{'" |
- // 2. Two or more consecutive dollar signs in the template string will not |
- // expand correctly. |
- // 3. "${" anywhere in the template string is invalid. |
- // 4. "\n" embedded anywhere in the template string, or an empty template |
- // string, can be used to separate paragraphs. It is not possible to create |
- // a completely blank line by using two consecutive newlines (they will be |
- // treated as a single newline by views::StyledLabel). |
void ShowBubbleForUpload(const base::Closure& save_card_callback, |
scoped_ptr<base::DictionaryValue> legal_message); |