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

Side by Side Diff: ash/system/chromeos/media_security/multi_profile_media_tray_item.cc

Issue 2095193002: clang-format all of //ash (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/system/chromeos/media_security/multi_profile_media_tray_item.h" 5 #include "ash/system/chromeos/media_security/multi_profile_media_tray_item.h"
6 6
7 #include "ash/ash_view_ids.h" 7 #include "ash/ash_view_ids.h"
8 #include "ash/common/session/session_state_delegate.h" 8 #include "ash/common/session/session_state_delegate.h"
9 #include "ash/common/system/chromeos/media_security/media_capture_observer.h" 9 #include "ash/common/system/chromeos/media_security/media_capture_observer.h"
10 #include "ash/common/system/tray/system_tray_notifier.h" 10 #include "ash/common/system/tray/system_tray_notifier.h"
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 SetVisible(false); 56 SetVisible(false);
57 } 57 }
58 58
59 private: 59 private:
60 DISALLOW_COPY_AND_ASSIGN(MultiProfileMediaTrayView); 60 DISALLOW_COPY_AND_ASSIGN(MultiProfileMediaTrayView);
61 }; 61 };
62 62
63 } // namespace tray 63 } // namespace tray
64 64
65 MultiProfileMediaTrayItem::MultiProfileMediaTrayItem(SystemTray* system_tray) 65 MultiProfileMediaTrayItem::MultiProfileMediaTrayItem(SystemTray* system_tray)
66 : SystemTrayItem(system_tray), tray_view_(NULL) { 66 : SystemTrayItem(system_tray), tray_view_(NULL) {}
67 }
68 67
69 MultiProfileMediaTrayItem::~MultiProfileMediaTrayItem() { 68 MultiProfileMediaTrayItem::~MultiProfileMediaTrayItem() {}
70 }
71 69
72 views::View* MultiProfileMediaTrayItem::CreateTrayView(LoginStatus status) { 70 views::View* MultiProfileMediaTrayItem::CreateTrayView(LoginStatus status) {
73 tray_view_ = new tray::MultiProfileMediaTrayView(this); 71 tray_view_ = new tray::MultiProfileMediaTrayView(this);
74 return tray_view_; 72 return tray_view_;
75 } 73 }
76 74
77 void MultiProfileMediaTrayItem::DestroyTrayView() { 75 void MultiProfileMediaTrayItem::DestroyTrayView() {
78 tray_view_ = NULL; 76 tray_view_ = NULL;
79 } 77 }
80 78
81 } // namespace ash 79 } // namespace ash
OLDNEW
« no previous file with comments | « ash/system/chromeos/label_tray_view.cc ('k') | ash/system/chromeos/multi_user/user_switch_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698