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

Unified Diff: chrome/browser/chromeos/login/user_adding_screen.h

Issue 286933002: [cros login] Split login related classes into subfolders. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix includes in new tests Created 6 years, 7 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
« no previous file with comments | « chrome/browser/chromeos/login/user.cc ('k') | chrome/browser/chromeos/login/user_adding_screen.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/user_adding_screen.h
diff --git a/chrome/browser/chromeos/login/user_adding_screen.h b/chrome/browser/chromeos/login/user_adding_screen.h
deleted file mode 100644
index fade53bd521ebd4ae0b14934de549d42367fb6b0..0000000000000000000000000000000000000000
--- a/chrome/browser/chromeos/login/user_adding_screen.h
+++ /dev/null
@@ -1,42 +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_CHROMEOS_LOGIN_USER_ADDING_SCREEN_H_
-#define CHROME_BROWSER_CHROMEOS_LOGIN_USER_ADDING_SCREEN_H_
-
-#include "base/basictypes.h"
-
-namespace chromeos {
-
-// An interface that defines screen for adding users into multi-profile session.
-// Current implementation is a singleton.
-// TODO(dzhioev): get rid of singleton.
-class UserAddingScreen {
- public:
- struct Observer {
- virtual void OnUserAddingStarted() {}
- virtual void OnUserAddingFinished() {}
- virtual ~Observer() {}
- };
-
- static UserAddingScreen* Get();
-
- virtual void Start() = 0;
- virtual void Cancel() = 0;
- virtual bool IsRunning() = 0;
-
- virtual void AddObserver(Observer* observer) = 0;
- virtual void RemoveObserver(Observer* observer) = 0;
-
- protected:
- UserAddingScreen();
- virtual ~UserAddingScreen();
-
- DISALLOW_COPY_AND_ASSIGN(UserAddingScreen);
-};
-
-} // namespace chromeos
-
-#endif // CHROME_BROWSER_CHROMEOS_LOGIN_USER_ADDING_SCREEN_H_
-
« no previous file with comments | « chrome/browser/chromeos/login/user.cc ('k') | chrome/browser/chromeos/login/user_adding_screen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698