Update CrOS OOBE throbber to MD throbber; delete old asset
[chromium-blink-merge.git] / chrome / installer / setup / setup_util_unittest.h
bloba367d664da867bdbfa990f0544bad6f1e61cd0a3
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.
5 #ifndef CHROME_INSTALLER_SETUP_SETUP_UTIL_UNITTEST_H_
6 #define CHROME_INSTALLER_SETUP_SETUP_UTIL_UNITTEST_H_
8 // A command line switch that causes the test harness to exit with the result of
9 // DoProcessPriorityAdjustment rather than executing all tests.
10 extern const char kAdjustProcessPriority[];
12 // Process exit codes when the test harness is run with the
13 // kAdjustProcessPriority switch.
14 enum PriorityClassChangeResult {
15 PCCR_UNKNOWN,
16 PCCR_UNCHANGED,
17 PCCR_CHANGED,
20 // Calls AdjustProcessPriority() and returns PCCR_CHANGED or PCCR_UNCHANGED
21 // based on its true or false result (respectively).
22 PriorityClassChangeResult DoProcessPriorityAdjustment();
24 #endif // CHROME_INSTALLER_SETUP_SETUP_UTIL_UNITTEST_H_