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

Unified Diff: base/strings/stringprintf.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/string_util.h ('k') | chrome/browser/sync_file_system/logger.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/strings/stringprintf.h
diff --git a/base/strings/stringprintf.h b/base/strings/stringprintf.h
index 4b2eab1424a9f02984a9a540be880b0aec0cc4ba..7a75d89e10f71eb5ab303efa6c072f17121aea31 100644
--- a/base/strings/stringprintf.h
+++ b/base/strings/stringprintf.h
@@ -13,14 +13,6 @@
#include "base/compiler_specific.h"
#include "build/build_config.h"
-#ifdef COMPILER_MSVC
-// For _Printf_format_string_.
-#include <sal.h>
-#else
-// For nacl builds when sal.h is not available.
-#define _Printf_format_string_
-#endif
-
namespace base {
// Return a C++ string given printf-like input.
« no previous file with comments | « base/strings/string_util.h ('k') | chrome/browser/sync_file_system/logger.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698