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

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

Issue 15087006: Docserver: there is only one. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: epic rebase Created 7 years, 5 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 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 import json 5 import json
6 import tarfile 6 import tarfile
7 from StringIO import StringIO 7 from StringIO import StringIO
8 8
9 from file_system import FileNotFoundError, ToUnicode 9 from file_system import FileNotFoundError, ToUnicode
10 from future import Future 10 from future import Future
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 167
168 def Apply(self, paths, file_system, binary, version=None): 168 def Apply(self, paths, file_system, binary, version=None):
169 if version is None: 169 if version is None:
170 version = self.GetVersion() 170 version = self.GetVersion()
171 return Future(delegate=_AsyncFetchFuture(self._base_path, 171 return Future(delegate=_AsyncFetchFuture(self._base_path,
172 self._issue, 172 self._issue,
173 version, 173 version,
174 paths, 174 paths,
175 binary, 175 binary,
176 self._fetcher)) 176 self._fetcher))
177
178 def GetIdentity(self):
179 return self._issue
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698