OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "components/password_manager/core/browser/browser_save_password_progres
s_logger.h" | 5 #include "components/password_manager/core/browser/browser_save_password_progres
s_logger.h" |
6 | 6 |
7 #include "base/strings/string_util.h" | 7 #include "base/strings/string_util.h" |
8 #include "base/strings/utf_string_conversions.h" | 8 #include "base/strings/utf_string_conversions.h" |
9 #include "base/values.h" | 9 #include "base/values.h" |
10 #include "components/autofill/core/browser/field_types.h" | 10 #include "components/autofill/core/browser/field_types.h" |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 field_info += ", CLIENT_SIDE_CLASSIFIER: " + classifier_outcome; | 154 field_info += ", CLIENT_SIDE_CLASSIFIER: " + classifier_outcome; |
155 | 155 |
156 result += field_info + "\n"; | 156 result += field_info + "\n"; |
157 } | 157 } |
158 | 158 |
159 return result; | 159 return result; |
160 } | 160 } |
161 | 161 |
162 void BrowserSavePasswordProgressLogger::LogString(StringID label, | 162 void BrowserSavePasswordProgressLogger::LogString(StringID label, |
163 const std::string& s) { | 163 const std::string& s) { |
164 LogValue(label, base::StringValue(s)); | 164 LogValue(label, base::Value(s)); |
165 } | 165 } |
166 | 166 |
167 void BrowserSavePasswordProgressLogger::SendLog(const std::string& log) { | 167 void BrowserSavePasswordProgressLogger::SendLog(const std::string& log) { |
168 log_manager_->LogSavePasswordProgress(log); | 168 log_manager_->LogSavePasswordProgress(log); |
169 } | 169 } |
170 | 170 |
171 } // namespace password_manager | 171 } // namespace password_manager |
OLD | NEW |