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

Unified Diff: tools/gn/value.h

Issue 265693003: Redo GN "args" command (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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
Index: tools/gn/value.h
diff --git a/tools/gn/value.h b/tools/gn/value.h
index e6a98132972d2619a0c9e39e0192d1511566b788..87a294112ca753e7521916544877931f8877f3a6 100644
--- a/tools/gn/value.h
+++ b/tools/gn/value.h
@@ -106,7 +106,8 @@ class Value {
void SetScopeValue(scoped_ptr<Scope> scope);
// Converts the given value to a string. Returns true if strings should be
- // quoted or the ToString of a string should be the string itself.
+ // quoted or the ToString of a string should be the string itself. If the
+ // string is quoted, it will also enable escaping.
std::string ToString(bool quote_strings) const;
// Verifies that the value is of the given type. If it isn't, returns
« tools/gn/command_args.cc ('K') | « tools/gn/trace.cc ('k') | tools/gn/value.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698