Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(963)

Side by Side Diff: chrome/browser/chromeos/status/data_promo_notification.h

Issue 623293003: replace OVERRIDE and FINAL with override and final in chrome/browser/chromeos/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: run git cl format on echo_dialog_view.h Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_CHROMEOS_STATUS_DATA_PROMO_NOTIFICATION_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_STATUS_DATA_PROMO_NOTIFICATION_H_
6 #define CHROME_BROWSER_CHROMEOS_STATUS_DATA_PROMO_NOTIFICATION_H_ 6 #define CHROME_BROWSER_CHROMEOS_STATUS_DATA_PROMO_NOTIFICATION_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "chromeos/network/network_state_handler_observer.h" 10 #include "chromeos/network/network_state_handler_observer.h"
(...skipping 13 matching lines...) Expand all
24 // * Data Promotion notifications when available / appropriate. 24 // * Data Promotion notifications when available / appropriate.
25 class DataPromoNotification : public NetworkStateHandlerObserver { 25 class DataPromoNotification : public NetworkStateHandlerObserver {
26 public: 26 public:
27 DataPromoNotification(); 27 DataPromoNotification();
28 virtual ~DataPromoNotification(); 28 virtual ~DataPromoNotification();
29 29
30 static void RegisterPrefs(PrefRegistrySimple* registry); 30 static void RegisterPrefs(PrefRegistrySimple* registry);
31 31
32 private: 32 private:
33 // NetworkStateHandlerObserver 33 // NetworkStateHandlerObserver
34 virtual void NetworkPropertiesUpdated(const NetworkState* network) OVERRIDE; 34 virtual void NetworkPropertiesUpdated(const NetworkState* network) override;
35 virtual void DefaultNetworkChanged(const NetworkState* network) OVERRIDE; 35 virtual void DefaultNetworkChanged(const NetworkState* network) override;
36 36
37 // Shows 3G promo notification if needed. 37 // Shows 3G promo notification if needed.
38 void ShowOptionalMobileDataPromoNotification(); 38 void ShowOptionalMobileDataPromoNotification();
39 39
40 // True if check for promo needs to be done, otherwise ignore it for the 40 // True if check for promo needs to be done, otherwise ignore it for the
41 // current session. 41 // current session.
42 bool check_for_promo_; 42 bool check_for_promo_;
43 43
44 // Factory for delaying showing promo notification. 44 // Factory for delaying showing promo notification.
45 base::WeakPtrFactory<DataPromoNotification> weak_ptr_factory_; 45 base::WeakPtrFactory<DataPromoNotification> weak_ptr_factory_;
46 46
47 DISALLOW_COPY_AND_ASSIGN(DataPromoNotification); 47 DISALLOW_COPY_AND_ASSIGN(DataPromoNotification);
48 }; 48 };
49 49
50 } // namespace chromeos 50 } // namespace chromeos
51 51
52 #endif // CHROME_BROWSER_CHROMEOS_STATUS_DATA_PROMO_NOTIFICATION_H_ 52 #endif // CHROME_BROWSER_CHROMEOS_STATUS_DATA_PROMO_NOTIFICATION_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/sim_dialog_delegate.h ('k') | chrome/browser/chromeos/status/network_menu.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698