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

Unified Diff: chrome/browser/sync_file_system/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 | « base/strings/stringprintf.h ('k') | components/drive/event_logger.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync_file_system/logger.h
diff --git a/chrome/browser/sync_file_system/logger.h b/chrome/browser/sync_file_system/logger.h
index ad011de45bcd2b2147b08512090e6920f0aa6b86..af646615528d4f333caf904f296f6ebfec1621b6 100644
--- a/chrome/browser/sync_file_system/logger.h
+++ b/chrome/browser/sync_file_system/logger.h
@@ -24,9 +24,8 @@ void ClearLog();
// This function can be called from any thread.
void Log(logging::LogSeverity level,
const tracked_objects::Location& location,
- const char* format,
- ...)
- PRINTF_FORMAT(3, 4);
+ _Printf_format_string_ const char* format,
+ ...) PRINTF_FORMAT(3, 4);
// Returns the log history.
// This function can be called from any thread.
« no previous file with comments | « base/strings/stringprintf.h ('k') | components/drive/event_logger.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698