Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(749)

Side by Side Diff: components/password_manager/core/browser/browser_save_password_progress_logger.cc

Issue 2664753002: Remove base::StringValue (Closed)
Patch Set: Rebase Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW
« no previous file with comments | « components/ownership/owner_settings_service.cc ('k') | components/plugins/renderer/loadable_plugin_placeholder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698