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

Unified Diff: components/drive/event_logger.h

Issue 1408243003: Annotate more functions with _Printf_format_string_ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 | « chrome/browser/sync_file_system/logger.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/drive/event_logger.h
diff --git a/components/drive/event_logger.h b/components/drive/event_logger.h
index 6b82a4c327fadd504a68b5ac126cc68d979b3e56..76b53726d5702f716a3b235042fe3b8322499007 100644
--- a/components/drive/event_logger.h
+++ b/components/drive/event_logger.h
@@ -44,8 +44,9 @@ class EventLogger {
// Logs a message with formatting.
// Can be called from any thread as long as the object is alive.
- void Log(logging::LogSeverity severity, const char* format, ...)
- PRINTF_FORMAT(3, 4);
+ void Log(logging::LogSeverity severity,
+ _Printf_format_string_ const char* format,
+ ...) PRINTF_FORMAT(3, 4);
// Sets the history size. The existing history is cleared.
// Can be called from any thread as long as the object is alive.
« no previous file with comments | « chrome/browser/sync_file_system/logger.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698