#include "base/memory/scoped_ptr.h"
#include "base/strings/string16.h"
#include "ui/gfx/image/image_skia.h"
-#include "ui/gfx/native_widget_types.h"
namespace base {
class TimeDelta;
// Returns the notification for supervised users.
virtual const base::string16 GetSupervisedUserMessage() const = 0;
+ // Returns true if the current user is supervised.
+ virtual bool IsUserSupervised() const = 0;
+
// Returns whether a system upgrade is available.
virtual bool SystemShouldUpgrade() const = 0;
// Shows UI to configure or activate the network specified by |network_id|,
// which may include showing Payment or Portal UI when appropriate.
- // |parent_window| is used to parent any configuration UI. If NULL a default
- // window will be used.
- virtual void ShowNetworkConfigure(const std::string& network_id,
- gfx::NativeWindow parent_window) = 0;
+ virtual void ShowNetworkConfigure(const std::string& network_id) = 0;
// Shows UI to enroll the network specified by |network_id| if appropriate
- // and returns true, otherwise returns false. |parent_window| is used
- // to parent any configuration UI. If NULL a default window will be used.
- virtual bool EnrollNetwork(const std::string& network_id,
- gfx::NativeWindow parent_window) = 0;
+ // and returns true, otherwise returns false.
+ virtual bool EnrollNetwork(const std::string& network_id) = 0;
// Shows UI to manage bluetooth devices.
virtual void ManageBluetoothDevices() = 0;