Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(24)

Side by Side Diff: chrome/common/extensions/docs/server2/fail_on_access_file_system.py

Issue 660383002: Docserver: Persist stat cache for versioned file systems (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: change caching strategy, better refresh cycle synchronization Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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'
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698