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

Side by Side Diff: build/util/lib/common/perf_result_data_type.py

Issue 2392643003: Removes files from //build that we don't need (Closed)
Patch Set: Created 4 years, 2 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
« no previous file with comments | « build/util/lib/common/__init__.py ('k') | build/util/lib/common/perf_tests_results_helper.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 # found in the LICENSE file.
4
5 DEFAULT = 'default'
6 UNIMPORTANT = 'unimportant'
7 HISTOGRAM = 'histogram'
8 UNIMPORTANT_HISTOGRAM = 'unimportant-histogram'
9 INFORMATIONAL = 'informational'
10
11 ALL_TYPES = [DEFAULT, UNIMPORTANT, HISTOGRAM, UNIMPORTANT_HISTOGRAM,
12 INFORMATIONAL]
13
14
15 def IsValidType(datatype):
16 return datatype in ALL_TYPES
17
18
19 def IsHistogram(datatype):
20 return (datatype == HISTOGRAM or datatype == UNIMPORTANT_HISTOGRAM)
OLDNEW
« no previous file with comments | « build/util/lib/common/__init__.py ('k') | build/util/lib/common/perf_tests_results_helper.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698