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

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

Issue 2530053003: chrome: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase + address comment Created 4 years 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/macros.h" 8 #include "base/macros.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"
11 11
12 class PrefRegistrySimple; 12 class PrefRegistrySimple;
13 13
14 namespace views {
15 class View;
16 }
17
18 namespace chromeos { 14 namespace chromeos {
19 15
20 // This class is responsible for triggering cellular network related 16 // This class is responsible for triggering cellular network related
21 // notifications, specifically: 17 // notifications, specifically:
22 // * "Chrome will use mobile data..." when Cellular is the Default network 18 // * "Chrome will use mobile data..." when Cellular is the Default network
23 // for the first time. 19 // for the first time.
24 // * Data Promotion notifications when available / appropriate. 20 // * Data Promotion notifications when available / appropriate.
25 class DataPromoNotification : public NetworkStateHandlerObserver { 21 class DataPromoNotification : public NetworkStateHandlerObserver {
26 public: 22 public:
27 DataPromoNotification(); 23 DataPromoNotification();
(...skipping 17 matching lines...) Expand all
45 41
46 // Factory for delaying showing promo notification. 42 // Factory for delaying showing promo notification.
47 base::WeakPtrFactory<DataPromoNotification> weak_ptr_factory_; 43 base::WeakPtrFactory<DataPromoNotification> weak_ptr_factory_;
48 44
49 DISALLOW_COPY_AND_ASSIGN(DataPromoNotification); 45 DISALLOW_COPY_AND_ASSIGN(DataPromoNotification);
50 }; 46 };
51 47
52 } // namespace chromeos 48 } // namespace chromeos
53 49
54 #endif // CHROME_BROWSER_CHROMEOS_STATUS_DATA_PROMO_NOTIFICATION_H_ 50 #endif // CHROME_BROWSER_CHROMEOS_STATUS_DATA_PROMO_NOTIFICATION_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/settings/device_settings_service.h ('k') | chrome/browser/chromeos/status/network_menu.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698