| OLD | NEW |
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 # Copyright 2014 The Chromium Authors. All rights reserved. | 2 # Copyright 2014 The Chromium Authors. All rights reserved. |
| 3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 | 5 |
| 6 import atexit | 6 import atexit |
| 7 import logging | 7 import logging |
| 8 import os | 8 import os |
| 9 import os.path | 9 import os.path |
| 10 import subprocess | 10 import subprocess |
| (...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 199 stdout=sys.stdout) | 199 stdout=sys.stdout) |
| 200 atexit.register(_ExitIfNeeded, logcat) | 200 atexit.register(_ExitIfNeeded, logcat) |
| 201 return logcat | 201 return logcat |
| 202 | 202 |
| 203 | 203 |
| 204 def GetFilePath(filename): | 204 def GetFilePath(filename): |
| 205 """ | 205 """ |
| 206 Returns a path suitable for the application to create a file. | 206 Returns a path suitable for the application to create a file. |
| 207 """ | 207 """ |
| 208 return '/data/data/%s/files/%s' % (MOJO_SHELL_PACKAGE_NAME, filename) | 208 return '/data/data/%s/files/%s' % (MOJO_SHELL_PACKAGE_NAME, filename) |
| OLD | NEW |