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

Side by Side Diff: chrome/browser/chromeos/network_message_observer.h

Issue 7259019: Move base/values.h into the base namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_NETWORK_MESSAGE_OBSERVER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_NETWORK_MESSAGE_OBSERVER_H_
6 #define CHROME_BROWSER_CHROMEOS_NETWORK_MESSAGE_OBSERVER_H_ 6 #define CHROME_BROWSER_CHROMEOS_NETWORK_MESSAGE_OBSERVER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 12 matching lines...) Expand all
23 class NetworkMessageObserver : public NetworkLibrary::NetworkManagerObserver, 23 class NetworkMessageObserver : public NetworkLibrary::NetworkManagerObserver,
24 public NetworkLibrary::CellularDataPlanObserver, 24 public NetworkLibrary::CellularDataPlanObserver,
25 public NetworkLibrary::UserActionObserver { 25 public NetworkLibrary::UserActionObserver {
26 public: 26 public:
27 explicit NetworkMessageObserver(Profile* profile); 27 explicit NetworkMessageObserver(Profile* profile);
28 virtual ~NetworkMessageObserver(); 28 virtual ~NetworkMessageObserver();
29 29
30 static bool IsApplicableBackupPlan(const CellularDataPlan* plan, 30 static bool IsApplicableBackupPlan(const CellularDataPlan* plan,
31 const CellularDataPlan* other_plan); 31 const CellularDataPlan* other_plan);
32 private: 32 private:
33 virtual void OpenMobileSetupPage(const ListValue* args); 33 virtual void OpenMobileSetupPage(const base::ListValue* args);
34 virtual void OpenMoreInfoPage(const ListValue* args); 34 virtual void OpenMoreInfoPage(const base::ListValue* args);
35 virtual void InitNewPlan(const CellularDataPlan* plan); 35 virtual void InitNewPlan(const CellularDataPlan* plan);
36 virtual void ShowNeedsPlanNotification(const CellularNetwork* cellular); 36 virtual void ShowNeedsPlanNotification(const CellularNetwork* cellular);
37 virtual void ShowNoDataNotification(CellularDataPlanType plan_type); 37 virtual void ShowNoDataNotification(CellularDataPlanType plan_type);
38 virtual void ShowLowDataNotification(const CellularDataPlan* plan); 38 virtual void ShowLowDataNotification(const CellularDataPlan* plan);
39 39
40 // NetworkLibrary::NetworkManagerObserver implementation. 40 // NetworkLibrary::NetworkManagerObserver implementation.
41 virtual void OnNetworkManagerChanged(NetworkLibrary* obj); 41 virtual void OnNetworkManagerChanged(NetworkLibrary* obj);
42 // NetworkLibrary::CellularDataPlanObserver implementation. 42 // NetworkLibrary::CellularDataPlanObserver implementation.
43 virtual void OnCellularDataPlanChanged(NetworkLibrary* obj); 43 virtual void OnCellularDataPlanChanged(NetworkLibrary* obj);
44 // NetworkLibrary::UserActionObserver implementation. 44 // NetworkLibrary::UserActionObserver implementation.
(...skipping 22 matching lines...) Expand all
67 SystemNotification notification_low_data_; 67 SystemNotification notification_low_data_;
68 // Notification for showing no data warning 68 // Notification for showing no data warning
69 SystemNotification notification_no_data_; 69 SystemNotification notification_no_data_;
70 70
71 DISALLOW_COPY_AND_ASSIGN(NetworkMessageObserver); 71 DISALLOW_COPY_AND_ASSIGN(NetworkMessageObserver);
72 }; 72 };
73 73
74 } // namespace chromeos 74 } // namespace chromeos
75 75
76 #endif // CHROME_BROWSER_CHROMEOS_NETWORK_MESSAGE_OBSERVER_H_ 76 #endif // CHROME_BROWSER_CHROMEOS_NETWORK_MESSAGE_OBSERVER_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/metrics_cros_settings_provider.h ('k') | chrome/browser/chromeos/notifications/balloon_view_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698