Chromium Code Reviews| Index: chrome/common/switch_utils.h |
| diff --git a/chrome/common/switch_utils.h b/chrome/common/switch_utils.h |
| index 83594d17d8bd5c3a508eb3d9e5312ac3f29b2bb6..fa7c7f4dabde84e8a2d15f70b51f8336b856ea90 100644 |
| --- a/chrome/common/switch_utils.h |
| +++ b/chrome/common/switch_utils.h |
| @@ -16,6 +16,9 @@ namespace switches { |
| void RemoveSwitchesForAutostart( |
| std::map<std::string, CommandLine::StringType>* switches); |
| +// Return true if browser process is run in kiosk or forces app mode. |
| +bool IsRunningInAppMode(); |
|
sky
2013/01/30 22:27:10
switch_utils isn't a good place for this function.
zel
2013/01/30 22:55:16
This is used all over now:
chrome/browser/ui/as
sky
2013/01/30 23:29:56
IMO this file is intended for utilities relating t
zel
2013/01/30 23:56:57
moved to chrome/browser/app_mode/app_mode_utils.(h
|
| + |
| } // namespace switches |
| #endif // CHROME_COMMON_SWITCH_UTILS_H_ |