| 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 <string> | 5 #include <string> |
| 6 #include <vector> | 6 #include <vector> |
| 7 | 7 |
| 8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
| 9 #include "base/environment.h" | 9 #include "base/environment.h" |
| 10 #include "base/file_util.h" | 10 #include "base/file_util.h" |
| (...skipping 635 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 646 exit_code = 1; | 646 exit_code = 1; |
| 647 break; | 647 break; |
| 648 } | 648 } |
| 649 | 649 |
| 650 // Special value "-1" means "repeat indefinitely". | 650 // Special value "-1" means "repeat indefinitely". |
| 651 if (cycles != -1) | 651 if (cycles != -1) |
| 652 cycles--; | 652 cycles--; |
| 653 } | 653 } |
| 654 return exit_code; | 654 return exit_code; |
| 655 } | 655 } |
| OLD | NEW |