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

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

Issue 2895243002: Rename requireUserMediation to preventSilentAccess in the CM API. (Closed)
Patch Set: merge Created 3 years, 6 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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/credential_manager_logger.h" 5 #include "components/password_manager/core/browser/credential_manager_logger.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/strings/string_number_conversions.h" 9 #include "base/strings/string_number_conversions.h"
10 #include "components/autofill/core/common/save_password_progress_logger.h" 10 #include "components/autofill/core/common/save_password_progress_logger.h"
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 } 53 }
54 54
55 void CredentialManagerLogger::LogStoreCredential(const GURL& url, 55 void CredentialManagerLogger::LogStoreCredential(const GURL& url,
56 CredentialType type) { 56 CredentialType type) {
57 std::string s("CM API save a credential: origin=" + 57 std::string s("CM API save a credential: origin=" +
58 SavePasswordProgressLogger::ScrubURL(url)); 58 SavePasswordProgressLogger::ScrubURL(url));
59 s += ", CredentialType=" + CredentialTypeToString(type); 59 s += ", CredentialType=" + CredentialTypeToString(type);
60 log_manager_->LogSavePasswordProgress(s); 60 log_manager_->LogSavePasswordProgress(s);
61 } 61 }
62 62
63 void CredentialManagerLogger::LogRequireUserMediation(const GURL& url) { 63 void CredentialManagerLogger::LogPreventSilentAccess(const GURL& url) {
64 std::string s("CM API sign out: origin=" + 64 std::string s("CM API sign out: origin=" +
65 SavePasswordProgressLogger::ScrubURL(url)); 65 SavePasswordProgressLogger::ScrubURL(url));
66 log_manager_->LogSavePasswordProgress(s); 66 log_manager_->LogSavePasswordProgress(s);
67 } 67 }
68 68
69 } // namespace password_manager 69 } // namespace password_manager
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698