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

Side by Side Diff: ash/system/network/network_icon_animation.cc

Issue 2732813002: chromeos: Move files in //ash/common to //ash, part 1 (Closed)
Patch Set: rebase Created 3 years, 9 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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 #include "ash/common/system/chromeos/network/network_icon_animation.h" 5 #include "ash/system/network/network_icon_animation.h"
6 6
7 #include "ash/common/system/chromeos/network/network_icon_animation_observer.h" 7 #include "ash/system/network/network_icon_animation_observer.h"
8 8
9 namespace { 9 namespace {
10 const int kThrobDurationMs = 750; // Animation cycle length. 10 const int kThrobDurationMs = 750; // Animation cycle length.
11 } 11 }
12 12
13 namespace ash { 13 namespace ash {
14 namespace network_icon { 14 namespace network_icon {
15 15
16 NetworkIconAnimation::NetworkIconAnimation() : animation_(this) { 16 NetworkIconAnimation::NetworkIconAnimation() : animation_(this) {
17 // Set up the animation throbber. 17 // Set up the animation throbber.
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 } 50 }
51 51
52 // static 52 // static
53 NetworkIconAnimation* NetworkIconAnimation::GetInstance() { 53 NetworkIconAnimation* NetworkIconAnimation::GetInstance() {
54 static NetworkIconAnimation* s_icon_animation = new NetworkIconAnimation(); 54 static NetworkIconAnimation* s_icon_animation = new NetworkIconAnimation();
55 return s_icon_animation; 55 return s_icon_animation;
56 } 56 }
57 57
58 } // namespace network_icon 58 } // namespace network_icon
59 } // namespace ash 59 } // namespace ash
OLDNEW
« no previous file with comments | « ash/system/network/network_icon_animation.h ('k') | ash/system/network/network_icon_animation_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698