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

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

Issue 14247024: Devserver: allow SubversionFileSystem to be pinned to a specific rev on construction (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comments Created 7 years, 7 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 | Annotate | Revision Log
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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, StatInfo, FileNotFoundError 5 from file_system import FileSystem, StatInfo, FileNotFoundError
6 from future import Future 6 from future import Future
7 from object_store_creator import ObjectStoreCreator 7 from object_store_creator import ObjectStoreCreator
8 8
9 class _AsyncUncachedFuture(object): 9 class _AsyncUncachedFuture(object):
10 def __init__(self, 10 def __init__(self,
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 106
107 if not uncached: 107 if not uncached:
108 return Future(value=results) 108 return Future(value=results)
109 109
110 return Future(delegate=_AsyncUncachedFuture( 110 return Future(delegate=_AsyncUncachedFuture(
111 self._file_system.Read(uncached.keys(), binary=binary), 111 self._file_system.Read(uncached.keys(), binary=binary),
112 uncached, 112 uncached,
113 results, 113 results,
114 self, 114 self,
115 read_object_store)) 115 read_object_store))
116
117 def GetIdentity(self):
118 return self._file_system.GetIdentity()
OLDNEW
« no previous file with comments | « chrome/common/extensions/docs/server2/appengine_wrappers.py ('k') | chrome/common/extensions/docs/server2/cron.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698