| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include <algorithm> | 5 #include <algorithm> |
| 6 #include <ostream> | 6 #include <ostream> |
| 7 #include <sstream> | 7 #include <sstream> |
| 8 | 8 |
| 9 #include "base/json/json_writer.h" | 9 #include "base/json/json_writer.h" |
| 10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
| (...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 235 break; | 235 break; |
| 236 case PasswordForm::SubmissionIndicatorEvent::XHR_SUCCEEDED: | 236 case PasswordForm::SubmissionIndicatorEvent::XHR_SUCCEEDED: |
| 237 os << "XHR_SUCCEEDED"; | 237 os << "XHR_SUCCEEDED"; |
| 238 break; | 238 break; |
| 239 case PasswordForm::SubmissionIndicatorEvent::FRAME_DETACHED: | 239 case PasswordForm::SubmissionIndicatorEvent::FRAME_DETACHED: |
| 240 os << "FRAME_DETACHED"; | 240 os << "FRAME_DETACHED"; |
| 241 break; | 241 break; |
| 242 case PasswordForm::SubmissionIndicatorEvent::MANUAL_SAVE: | 242 case PasswordForm::SubmissionIndicatorEvent::MANUAL_SAVE: |
| 243 os << "MANUAL_SAVE"; | 243 os << "MANUAL_SAVE"; |
| 244 break; | 244 break; |
| 245 case PasswordForm::SubmissionIndicatorEvent::DOM_MUTATION_AFTER_XHR: |
| 246 os << "DOM_MUTATION_AFTER_XHR"; |
| 247 break; |
| 245 default: | 248 default: |
| 246 os << "NO_SUBMISSION"; | 249 os << "NO_SUBMISSION"; |
| 247 break; | 250 break; |
| 248 } | 251 } |
| 249 return os; | 252 return os; |
| 250 } | 253 } |
| 251 | 254 |
| 252 } // namespace autofill | 255 } // namespace autofill |
| OLD | NEW |