Index: tools/gn/command_format.h |
diff --git a/tools/gn/command_format.h b/tools/gn/command_format.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..51a81f7e1dfed67889153ac199d2bc585f0e2e73 |
--- /dev/null |
+++ b/tools/gn/command_format.h |
@@ -0,0 +1,26 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
brettw
2016/08/17 22:10:01
Use current year.
|
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef TOOLS_GN_COMAND_FORMAT_H_ |
+#define TOOLS_GN_COMAND_FORMAT_H_ |
+ |
+#include <string> |
+class Setup; |
+class SourceFile; |
+ |
+namespace commands { |
+ |
+bool FormatFileToString(Setup* setup, |
+ const SourceFile& file, |
+ bool dump_tree, |
+ std::string* output); |
+ |
+bool FormatStringToString(const std::string& input, |
+ bool dump_tree, |
+ std::string* output); |
+ |
+} // namespace commands |
+ |
+#endif // TOOLS_GN_COMAND_FORMAT_H_ |
+ |