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

Unified Diff: components/autofill/core/common/save_password_progress_logger.h

Issue 2293443002: Implement logging of the Credential Manager API calls to chrome://password-manager-internals. (Closed)
Patch Set: nits Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | components/autofill/core/common/save_password_progress_logger.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/autofill/core/common/save_password_progress_logger.h
diff --git a/components/autofill/core/common/save_password_progress_logger.h b/components/autofill/core/common/save_password_progress_logger.h
index bb86901e1d39c454d5d50a9b727d0f5d1f396b9e..f31bf6dbdacb8c265dca1a91a4c9566a1db330d8 100644
--- a/components/autofill/core/common/save_password_progress_logger.h
+++ b/components/autofill/core/common/save_password_progress_logger.h
@@ -165,6 +165,10 @@ class SavePasswordProgressLogger {
void LogNumber(StringID label, size_t unsigned_number);
void LogMessage(StringID message);
+ // Removes privacy sensitive parts of |url| (currently all but host and
+ // scheme).
+ static std::string ScrubURL(const GURL& url);
+
protected:
// Sends |log| immediately for display.
virtual void SendLog(const std::string& log) = 0;
@@ -185,10 +189,6 @@ class SavePasswordProgressLogger {
// Translates the StringID values into the corresponding strings.
static std::string GetStringFromID(SavePasswordProgressLogger::StringID id);
- // Removes privacy sensitive parts of |url| (currently all but host and
- // scheme).
- static std::string ScrubURL(const GURL& url);
-
private:
DISALLOW_COPY_AND_ASSIGN(SavePasswordProgressLogger);
};
« no previous file with comments | « no previous file | components/autofill/core/common/save_password_progress_logger.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698