Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2017 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 COMPONENTS_ARC_ARC_UTIL_H_ | |
| 6 #define COMPONENTS_ARC_ARC_UTIL_H_ | |
| 7 | |
|
Yusuke Sato
2017/01/19 22:39:31
I still feel we need a very lengthy document on ho
hidehiko
2017/01/24 17:46:12
Addressed in base CL.
| |
| 8 namespace arc { | |
| 9 namespace util { | |
| 10 | |
| 11 // Returns true if ARC has been enabled through a commandline switch. | |
|
Yusuke Sato
2017/01/19 22:39:31
Could you provide a bit more documents? What does
hidehiko
2017/01/24 17:46:12
Added more documentation in another CL.
As for de
| |
| 12 bool IsArcEnabled(); | |
|
Yusuke Sato
2017/01/19 22:39:31
Name collision. ArcSessionManager has the same fun
hidehiko
2017/01/24 17:46:12
Now, it should be resolved.
| |
| 13 | |
| 14 // Returns true if ARC is available on the current board. | |
|
Yusuke Sato
2017/01/19 22:39:31
When typically do we want to call the utility func
hidehiko
2017/01/24 17:46:12
Acknowledged.
| |
| 15 bool IsArcAvailable(); | |
| 16 | |
| 17 // Returns true if ARC should run under Kiosk mode. | |
| 18 bool IsArcKioskMode(); | |
| 19 | |
| 20 // Checks if OptIn verification was disabled by switch in command line. | |
|
Luis Héctor Chávez
2017/01/19 18:09:15
nit: s/OptIn/opt-in/
Yusuke Sato
2017/01/19 22:39:31
Can you mention when typically this returns true?
hidehiko
2017/01/24 17:46:12
Done.
hidehiko
2017/01/24 17:46:12
Hmmm, I guess rather than mentioning commandline f
| |
| 21 bool IsOptInVerificationDisabled(); | |
|
Luis Héctor Chávez
2017/01/19 18:09:15
nit: IsArcOptInVerificationDisabled()? That'll bri
hidehiko
2017/01/24 17:46:12
Done.
| |
| 22 | |
|
Yusuke Sato
2017/01/19 22:39:31
Having 'void EnableArcForTesting()' (or a better n
hidehiko
2017/01/24 17:46:12
As written in another CL's TODO comment, let me wo
Yusuke Sato
2017/01/24 20:36:58
Eh.. where is the TODO? I think I'm lost..
| |
| 23 } // namespace util | |
| 24 } // namespace arc | |
| 25 | |
| 26 #endif // COMPONENTS_ARC_ARC_UTIL_H_ | |
| OLD | NEW |