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

Unified Diff: webrtc/base/stringize_macros.h

Issue 2877023002: Move webrtc/{base => rtc_base} (Closed)
Patch Set: update presubmit.py and DEPS include rules 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/base/stringencode_unittest.cc ('k') | webrtc/base/stringize_macros_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/stringize_macros.h
diff --git a/webrtc/base/stringize_macros.h b/webrtc/base/stringize_macros.h
index 7e2f44da8aeb0e307394b1c8f637b68bc871eef0..5f8a5b1b869c131fab3831548e1f2f2511933826 100644
--- a/webrtc/base/stringize_macros.h
+++ b/webrtc/base/stringize_macros.h
@@ -18,21 +18,9 @@
#ifndef WEBRTC_BASE_STRINGIZE_MACROS_H_
#define WEBRTC_BASE_STRINGIZE_MACROS_H_
-// This is not very useful as it does not expand defined symbols if
-// called directly. Use its counterpart without the _NO_EXPANSION
-// suffix, below.
-#define STRINGIZE_NO_EXPANSION(x) #x
-// Use this to quote the provided parameter, first expanding it if it
-// is a preprocessor symbol.
-//
-// For example, if:
-// #define A FOO
-// #define B(x) myobj->FunctionCall(x)
-//
-// Then:
-// STRINGIZE(A) produces "FOO"
-// STRINGIZE(B(y)) produces "myobj->FunctionCall(y)"
-#define STRINGIZE(x) STRINGIZE_NO_EXPANSION(x)
+// This header is deprecated and is just left here temporarily during
+// refactoring. See https://bugs.webrtc.org/7634 for more details.
+#include "webrtc/rtc_base/stringize_macros.h"
#endif // WEBRTC_BASE_STRINGIZE_MACROS_H_
« no previous file with comments | « webrtc/base/stringencode_unittest.cc ('k') | webrtc/base/stringize_macros_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698