| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "base/command_line.h" | 5 #include "base/command_line.h" |
| 6 #include "base/file_path.h" | 6 #include "base/file_path.h" |
| 7 #include "base/file_util.h" | 7 #include "base/file_util.h" |
| 8 #include "base/path_service.h" | 8 #include "base/path_service.h" |
| 9 #include "base/string_number_conversions.h" | 9 #include "base/string_number_conversions.h" |
| 10 #include "base/string_util.h" | 10 #include "base/string_util.h" |
| (...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 173 | 173 |
| 174 // Write out the JS Variable if requested | 174 // Write out the JS Variable if requested |
| 175 FilePath jsvar_output_path = cmd_line->GetSwitchValuePath("jsvar_output"); | 175 FilePath jsvar_output_path = cmd_line->GetSwitchValuePath("jsvar_output"); |
| 176 if (!jsvar_output_path.value().empty()) { | 176 if (!jsvar_output_path.value().empty()) { |
| 177 ASSERT_TRUE(WriteValueToFile(result.javascript_variable, | 177 ASSERT_TRUE(WriteValueToFile(result.javascript_variable, |
| 178 jsvar_output_path)); | 178 jsvar_output_path)); |
| 179 } | 179 } |
| 180 } | 180 } |
| 181 | 181 |
| 182 } // namespace | 182 } // namespace |
| OLD | NEW |