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

Unified Diff: tools/gn/path_output.h

Issue 213353004: GN: Move towards only using / on Windows (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: only generate / in various places Created 6 years, 9 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/path_output.h
diff --git a/tools/gn/path_output.h b/tools/gn/path_output.h
index 33227d48641c6a9daf54ee0da12f691f249cbec1..00ce33b46d5ddb155d6ab4b1eaa7f10ffac9a473 100644
--- a/tools/gn/path_output.h
+++ b/tools/gn/path_output.h
@@ -34,8 +34,7 @@ class PathOutput {
};
PathOutput(const SourceDir& current_dir,
- EscapingMode escaping,
- bool convert_slashes);
+ EscapingMode escaping);
~PathOutput();
// Read-only since inverse_current_dir_ is computed depending on this.
@@ -43,12 +42,6 @@ class PathOutput {
const SourceDir& current_dir() const { return current_dir_; }
- // When true, converts slashes to the system-type path separators (on
- // Windows, this is a backslash, this is a NOP otherwise).
- //
- // Read-only since inverse_current_dir_ is computed depending on this.
- bool convert_slashes_to_system() const { return options_.convert_slashes; }
-
// When the output escaping is ESCAPE_SHELL, the escaper will normally put
// quotes around suspect things. If this value is set to true, we'll disable
// the quoting feature. This means that in ESCAPE_SHELL mode, strings with

Powered by Google App Engine
This is Rietveld 408576698