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

Unified Diff: chrome/browser/ui/app_list/chrome_signin_delegate.h

Issue 12088037: Revert 179302 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 11 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
Index: chrome/browser/ui/app_list/chrome_signin_delegate.h
===================================================================
--- chrome/browser/ui/app_list/chrome_signin_delegate.h (revision 179305)
+++ chrome/browser/ui/app_list/chrome_signin_delegate.h (working copy)
@@ -1,48 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_UI_APP_LIST_CHROME_SIGNIN_DELEGATE_H_
-#define CHROME_BROWSER_UI_APP_LIST_CHROME_SIGNIN_DELEGATE_H_
-
-#include "base/basictypes.h"
-#include "base/memory/scoped_ptr.h"
-#include "chrome/browser/signin/signin_tracker.h"
-#include "chrome/browser/ui/webui/signin/login_ui_service.h"
-#include "ui/app_list/signin_delegate.h"
-
-class Profile;
-
-class ChromeSigninDelegate : public app_list::SigninDelegate,
- public LoginUIService::LoginUI,
- public SigninTracker::Observer {
- public:
- explicit ChromeSigninDelegate(Profile* profile);
-
- private:
- virtual ~ChromeSigninDelegate();
-
- bool IsActiveSignin();
- void FinishSignin();
-
- // Overridden from app_list::SigninDelegate:
- virtual bool NeedSignin() OVERRIDE;
- virtual content::WebContents* PrepareForSignin() OVERRIDE;
-
- // Overridden from LoginUIService::LoginUI:
- virtual void FocusUI() OVERRIDE;
- virtual void CloseUI() OVERRIDE;
-
- // Overridden from SigninTracker::Observer:
- virtual void GaiaCredentialsValid() OVERRIDE;
- virtual void SigninFailed(const GoogleServiceAuthError& error) OVERRIDE;
- virtual void SigninSuccess() OVERRIDE;
-
- Profile* profile_;
-
- scoped_ptr<SigninTracker> signin_tracker_;
-
- DISALLOW_COPY_AND_ASSIGN(ChromeSigninDelegate);
-};
-
-#endif // CHROME_BROWSER_UI_APP_LIST_CHROME_SIGNIN_DELEGATE_H_
« no previous file with comments | « chrome/browser/ui/app_list/app_list_view_delegate.cc ('k') | chrome/browser/ui/app_list/chrome_signin_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698