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

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

Issue 12095027: [win] Add signin support for the app launcher. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix cros test 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ui/app_list/app_list_view_delegate.h ('k') | ui/app_list/signin_delegate.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef UI_APP_LIST_SIGNIN_DELEGATE_H_
6 #define UI_APP_LIST_SIGNIN_DELEGATE_H_
7
8 #include "base/basictypes.h"
9 #include "base/observer_list.h"
10 #include "ui/app_list/app_list_export.h"
11
12 namespace content {
13 class BrowserContext;
14 class WebContents;
15 }
16
17 namespace app_list {
18
19 class SigninDelegateObserver;
20
21 class APP_LIST_EXPORT SigninDelegate {
22 public:
23 SigninDelegate();
24 virtual ~SigninDelegate();
25
26 virtual bool NeedSignin() = 0;
27 virtual content::WebContents* PrepareForSignin() = 0;
28
29 void AddObserver(SigninDelegateObserver* observer);
30 void RemoveObserver(SigninDelegateObserver* observer);
31
32 protected:
33 void NotifySigninSuccess();
34
35 private:
36 ObserverList<SigninDelegateObserver, true> observers_;
37
38 DISALLOW_COPY_AND_ASSIGN(SigninDelegate);
39 };
40
41 } // namespace app_list
42
43 #endif // UI_APP_LIST_SIGNIN_DELEGATE_H_
OLDNEW
« no previous file with comments | « ui/app_list/app_list_view_delegate.h ('k') | ui/app_list/signin_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698