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

Unified Diff: tools/findit/result.py

Issue 421223003: [Findit] Plain objects to represent the returned result from running the algorithm, (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressed code review Created 6 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/findit/match_set.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/findit/result.py
diff --git a/tools/findit/result.py b/tools/findit/result.py
new file mode 100644
index 0000000000000000000000000000000000000000..fcef3f6c2a4637800271aeccdd2a4962aa1e129a
--- /dev/null
+++ b/tools/findit/result.py
@@ -0,0 +1,17 @@
+# Copyright (c) 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+
+class Result(object):
+
+ def __init__(self, suspected_cl, revision_url, component_name, author,
+ reason, review_url, reviewers, line_content):
+ self.suspected_cl = suspected_cl
+ self.revision_url = revision_url
+ self.component_name = component_name
+ self.author = author
+ self.reason = reason
+ self.review_url = review_url
+ self.reviewers = reviewers
+ self.line_content = line_content
« no previous file with comments | « tools/findit/match_set.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698