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

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

Issue 14125010: Docserver: Add support for viewing docs with a codereview patch applied (Closed) Base URL: https://src.chromium.org/svn/trunk/src/
Patch Set: 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
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 class Patcher(object):
not at google - send to devlin 2013/05/04 06:47:43 need copyright and class comment
方觉(Fang Jue) 2013/05/04 10:47:18 oops. Done.
2 def GetPatchedFiles(self):
3 ''' Returns (added_files, deleted_files, modified_files).
4 '''
5 raise NotImplementedError()
6
7 def GetVersion(self):
8 ''' Returns patch version. Returns None when nothing is patched by the
9 pathcer.
not at google - send to devlin 2013/05/04 06:47:43 patcher
方觉(Fang Jue) 2013/05/04 10:47:18 ah..
10 '''
11 raise NotImplementedError()
12
13 def Apply(self, paths, file_system, binary):
14 ''' Apply the patch to added/modified files. Returns Future with patched
15 data. Throws FileNotFoundError if |paths| contains deleted files.
16 '''
17 raise NotImplementedError()
18
not at google - send to devlin 2013/05/04 06:47:43 trailing \n
方觉(Fang Jue) 2013/05/04 10:47:18 Done.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698