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

Unified Diff: ash/system/chromeos/network/network_icon_animation.h

Issue 12210137: Revert 181896 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 10 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
« no previous file with comments | « ash/system/chromeos/network/network_icon.cc ('k') | ash/system/chromeos/network/network_icon_animation.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/chromeos/network/network_icon_animation.h
===================================================================
--- ash/system/chromeos/network/network_icon_animation.h (revision 181898)
+++ ash/system/chromeos/network/network_icon_animation.h (working copy)
@@ -5,6 +5,9 @@
#ifndef ASH_SYSTEM_CHROMEOS_NETWORK_NETWORK_ICON_ANIMATION_H_
#define ASH_SYSTEM_CHROMEOS_NETWORK_NETWORK_ICON_ANIMATION_H_
+#include <set>
+#include <string>
+
#include "ash/ash_export.h"
#include "base/observer_list.h"
#include "ui/base/animation/animation_delegate.h"
@@ -26,6 +29,8 @@
void AddObserver(AnimationObserver* observer);
void RemoveObserver(AnimationObserver* observer);
+ void AddNetwork(const std::string& network_id);
+ void RemoveNetwork(const std::string& network_id);
// ui::AnimationDelegate implementation.
virtual void AnimationProgressed(const ui::Animation* animation) OVERRIDE;
@@ -35,6 +40,7 @@
private:
ui::ThrobAnimation animation_;
ObserverList<AnimationObserver> observers_;
+ std::set<std::string> networks_;
};
} // namespace network_icon
« no previous file with comments | « ash/system/chromeos/network/network_icon.cc ('k') | ash/system/chromeos/network/network_icon_animation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698