#ifndef CHROME_BROWSER_CHROMEOS_STATUS_DATA_PROMO_NOTIFICATION_H_
#define CHROME_BROWSER_CHROMEOS_STATUS_DATA_PROMO_NOTIFICATION_H_
#include "base/basictypes.h"
#include "base/memory/weak_ptr.h"
#include "chromeos/network/network_state_handler_observer.h"
class PrefRegistrySimple;
namespace views {
class View;
}
namespace chromeos {
class DataPromoNotification : public NetworkStateHandlerObserver {
public:
DataPromoNotification();
virtual ~DataPromoNotification();
static void RegisterPrefs(PrefRegistrySimple* registry);
private:
virtual void NetworkPropertiesUpdated(const NetworkState* network) OVERRIDE;
virtual void DefaultNetworkChanged(const NetworkState* network) OVERRIDE;
void ShowOptionalMobileDataPromoNotification();
bool check_for_promo_;
base::WeakPtrFactory<DataPromoNotification> weak_ptr_factory_;
DISALLOW_COPY_AND_ASSIGN(DataPromoNotification);
};
}
#endif