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

Side by Side Diff: ui/app_list/signin_delegate.cc

Issue 22825025: Remove SigninDelegateObserver. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove from gyp file Created 7 years, 4 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
« no previous file with comments | « ui/app_list/signin_delegate.h ('k') | ui/app_list/signin_delegate_observer.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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 "ui/app_list/signin_delegate.h" 5 #include "ui/app_list/signin_delegate.h"
6 #include "ui/app_list/signin_delegate_observer.h"
7 6
8 namespace app_list { 7 namespace app_list {
9 8
10 SigninDelegate::SigninDelegate() {} 9 SigninDelegate::SigninDelegate() {}
11 10
12 SigninDelegate::~SigninDelegate() {} 11 SigninDelegate::~SigninDelegate() {}
13 12
14 void SigninDelegate::AddObserver(SigninDelegateObserver* observer) {
15 observers_.AddObserver(observer);
16 }
17
18 void SigninDelegate::RemoveObserver(SigninDelegateObserver* observer) {
19 observers_.RemoveObserver(observer);
20 }
21
22 void SigninDelegate::NotifySigninSuccess() {
23 FOR_EACH_OBSERVER(SigninDelegateObserver, observers_, OnSigninSuccess());
24 }
25
26 } // namespace app_list 13 } // namespace app_list
OLDNEW
« no previous file with comments | « ui/app_list/signin_delegate.h ('k') | ui/app_list/signin_delegate_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698