| OLD | NEW |
| 1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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 from file_system import FileSystem | 5 from file_system import FileSystem |
| 6 | 6 |
| 7 class FailOnAccessFileSystem(FileSystem): | 7 class FailOnAccessFileSystem(FileSystem): |
| 8 # All this needs to do is implement GetIdentity. All other methods will | 8 # All this needs to do is implement GetIdentity. All other methods will |
| 9 # automatically fail with NotImplementedErrors. | 9 # automatically fail with NotImplementedErrors. |
| 10 def GetIdentity(self): | 10 def GetStableIdentity(self): |
| 11 return '42' | 11 return '42' |
| OLD | NEW |