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

Side by Side Diff: chrome/installer/setup/setup_util_unittest.h

Issue 16023027: Lower the I/O priority of the installer when resonable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cpu comments Created 7 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « chrome/installer/setup/setup_util.cc ('k') | chrome/installer/setup/setup_util_unittest.cc » ('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 #ifndef CHROME_INSTALLER_SETUP_SETUP_UTIL_UNITTEST_H_
6 #define CHROME_INSTALLER_SETUP_SETUP_UTIL_UNITTEST_H_
7
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[];
11
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,
18 };
19
20 // Calls AdjustProcessPriority() and returns PCCR_CHANGED or PCCR_UNCHANGED
21 // based on its true or false result (respectively).
22 PriorityClassChangeResult DoProcessPriorityAdjustment();
23
24 #endif // CHROME_INSTALLER_SETUP_SETUP_UTIL_UNITTEST_H_
OLDNEW
« no previous file with comments | « chrome/installer/setup/setup_util.cc ('k') | chrome/installer/setup/setup_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698