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

Unified Diff: chrome/browser/chromeos/network_menu_button.h

Issue 341044: Move chromeos code to namespace chromeos. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/network_menu_button.h
===================================================================
--- chrome/browser/chromeos/network_menu_button.h (revision 30488)
+++ chrome/browser/chromeos/network_menu_button.h (working copy)
@@ -9,7 +9,7 @@
#include "app/throb_animation.h"
#include "base/timer.h"
-#include "chrome/browser/chromeos/cros_network_library.h"
+#include "chrome/browser/chromeos/network_library.h"
#include "chrome/browser/chromeos/password_dialog_view.h"
#include "chrome/browser/chromeos/status_area_button.h"
#include "views/controls/menu/menu_2.h"
@@ -22,6 +22,8 @@
class Canvas;
}
+namespace chromeos {
+
// The network menu button in the status area.
// This class will handle getting the wifi networks and populating the menu.
// It will also handle the status icon changing and connecting to another
@@ -30,7 +32,7 @@
public views::ViewMenuDelegate,
public views::Menu2Model,
public PasswordDialogDelegate,
- public CrosNetworkLibrary::Observer {
+ public NetworkLibrary::Observer {
public:
explicit NetworkMenuButton(gfx::NativeWindow browser_window);
virtual ~NetworkMenuButton();
@@ -61,10 +63,9 @@
// AnimationDelegate implementation.
virtual void AnimationProgressed(const Animation* animation);
- // CrosNetworkLibrary::Observer implementation.
- virtual void NetworkChanged(CrosNetworkLibrary* obj);
- virtual void NetworkTraffic(CrosNetworkLibrary* cros,
- int traffic_type);
+ // NetworkLibrary::Observer implementation.
+ virtual void NetworkChanged(NetworkLibrary* obj);
+ virtual void NetworkTraffic(NetworkLibrary* cros, int traffic_type);
protected:
// StatusAreaButton implementation.
@@ -113,4 +114,6 @@
DISALLOW_COPY_AND_ASSIGN(NetworkMenuButton);
};
+} // namespace chromeos
+
#endif // CHROME_BROWSER_CHROMEOS_NETWORK_MENU_BUTTON_H_

Powered by Google App Engine
This is Rietveld 408576698