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_BROWSER_UI_WEBUI_HELP_HELP_UTILS_CHROMEOS_H_ 6 #define CHROME_BROWSER_UI_WEBUI_HELP_HELP_UTILS_CHROMEOS_H_ 7 8 namespace help_utils_chromeos { 9 10 // Returns true if updates over cellular networks are allowed. If |interactive| 11 // is true (e.g. the user clicked on a 'check for updates' button), updates over 12 // cellular are allowed unless prohibited by policy. If |interactive| is false, 13 // updates over cellular may be allowed by default for the device type, or by 14 // policy. 15 bool IsUpdateOverCellularAllowed(bool interactive); 16 17 } // namespace help_utils_chromeos 18 19 #endif // CHROME_BROWSER_UI_WEBUI_HELP_HELP_UTILS_CHROMEOS_H_ 20