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

Issue 2595983002: Extract diff_text function out of the Port class. (Closed)

Created:
4 years ago by qyearsley
Modified:
3 years, 11 months ago
Reviewers:
estaab, jeffcarp
CC:
blink-reviews, chromium-reviews, Dirk Pranke, ojan
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Extract diff_text function out of the Port class. This is a refactoring change related to, but separate from, the issue of replacing wdiff and PrettyPatch.rb with a Python diff module (http://crbug.com/672651), and a follow-up to adding html_diff.py (http://crrev.com/2580143002). Reason: The functionality of getting a text diff shouldn't be platform dependent, so it doesn't really seem to belong in the Port class. (It seems more similar to the html_diff module in webkitpy/common/.) Review-Url: https://codereview.chromium.org/2595983002 Cr-Commit-Position: refs/heads/master@{#443067} Committed: https://chromium.googlesource.com/chromium/src/+/938778c92da3d97c66a4fa16c0d79a019c0c40da

Patch Set 1 #

Patch Set 2 : Rebased #

Total comments: 2

Patch Set 3 : Change indentation #

Unified diffs Side-by-side diffs Delta from patch set Stats (+83 lines, -64 lines) Patch
A third_party/WebKit/Tools/Scripts/webkitpy/common/unified_diff.py View 1 chunk +42 lines, -0 lines 0 comments Download
A third_party/WebKit/Tools/Scripts/webkitpy/common/unified_diff_unittest.py View 1 2 1 chunk +39 lines, -0 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/test_result_writer.py View 1 2 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/base.py View 1 2 1 chunk +0 lines, -30 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/base_unittest.py View 1 2 1 chunk +0 lines, -33 lines 0 comments Download

Messages

Total messages: 31 (23 generated)
qyearsley
4 years ago (2016-12-21 19:52:52 UTC) #3
qyearsley
3 years, 11 months ago (2017-01-10 23:58:50 UTC) #19
estaab
Sorry for being silent on this. Will Jeff be able to review it or should ...
3 years, 11 months ago (2017-01-11 08:19:23 UTC) #22
qyearsley
On 2017/01/11 at 08:19:23, estaab wrote: > Sorry for being silent on this. Will Jeff ...
3 years, 11 months ago (2017-01-11 17:24:43 UTC) #23
jeffcarp
lgtm https://codereview.chromium.org/2595983002/diff/20001/third_party/WebKit/Tools/Scripts/webkitpy/common/unified_diff_unittest.py File third_party/WebKit/Tools/Scripts/webkitpy/common/unified_diff_unittest.py (right): https://codereview.chromium.org/2595983002/diff/20001/third_party/WebKit/Tools/Scripts/webkitpy/common/unified_diff_unittest.py#newcode20 third_party/WebKit/Tools/Scripts/webkitpy/common/unified_diff_unittest.py:20: '--- exp.txt\n+++ act.txt\n@@ -1,3 +1,5 @@\n Hello\n \n-World\n\\ ...
3 years, 11 months ago (2017-01-11 21:46:49 UTC) #24
qyearsley
https://codereview.chromium.org/2595983002/diff/20001/third_party/WebKit/Tools/Scripts/webkitpy/common/unified_diff_unittest.py File third_party/WebKit/Tools/Scripts/webkitpy/common/unified_diff_unittest.py (right): https://codereview.chromium.org/2595983002/diff/20001/third_party/WebKit/Tools/Scripts/webkitpy/common/unified_diff_unittest.py#newcode20 third_party/WebKit/Tools/Scripts/webkitpy/common/unified_diff_unittest.py:20: '--- exp.txt\n+++ act.txt\n@@ -1,3 +1,5 @@\n Hello\n \n-World\n\\ No ...
3 years, 11 months ago (2017-01-11 22:24:02 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2595983002/40001
3 years, 11 months ago (2017-01-11 22:25:33 UTC) #28
commit-bot: I haz the power
3 years, 11 months ago (2017-01-12 00:10:24 UTC) #31
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/938778c92da3d97c66a4fa16c0d7...

Powered by Google App Engine
This is Rietveld 408576698