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

Unified Diff: chrome/browser/chromeos/login/session/chrome_session_manager.h

Issue 363613004: [cros] Define session_manager component with SessionManager base class (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review + fix build Created 6 years, 5 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/chromeos/login/session/chrome_session_manager.h
diff --git a/chrome/browser/chromeos/login/session/chrome_session_manager.h b/chrome/browser/chromeos/login/session/chrome_session_manager.h
new file mode 100644
index 0000000000000000000000000000000000000000..6fb5e59d8fddc299aae7311a3b5abd9af870e691
--- /dev/null
+++ b/chrome/browser/chromeos/login/session/chrome_session_manager.h
@@ -0,0 +1,36 @@
+// Copyright 2014 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_SESSION_CHROME_SESSION_MANAGER_H_
+#define CHROME_BROWSER_CHROMEOS_LOGIN_SESSION_CHROME_SESSION_MANAGER_H_
+
+#include "base/basictypes.h"
+#include "components/session_manager/core/session_manager.h"
+
+namespace base {
+class CommandLine;
+}
+
+class Profile;
+
+namespace chromeos {
+
+class ChromeSessionManager : public session_manager::SessionManager {
+ public:
+ static scoped_ptr<session_manager::SessionManager> CreateSessionManager(
+ const base::CommandLine& parsed_command_line,
+ Profile* profile,
+ bool is_running_test);
+
+ private:
+ explicit ChromeSessionManager(
+ session_manager::SessionManagerDelegate* delegate);
+ virtual ~ChromeSessionManager();
+
+ DISALLOW_COPY_AND_ASSIGN(ChromeSessionManager);
+};
+
+} // namespace chromeos
+
+#endif // CHROME_BROWSER_CHROMEOS_LOGIN_SESSION_CHROME_SESSION_MANAGER_H_

Powered by Google App Engine
This is Rietveld 408576698