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

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

Issue 363613004: [cros] Define session_manager component with SessionManager base class (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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/stub_login_session_manager_delegate.h
diff --git a/chrome/browser/chromeos/login/session/stub_login_session_manager_delegate.h b/chrome/browser/chromeos/login/session/stub_login_session_manager_delegate.h
new file mode 100644
index 0000000000000000000000000000000000000000..080d032ec78d7077f9ca14b4c2a61e782b0905cb
--- /dev/null
+++ b/chrome/browser/chromeos/login/session/stub_login_session_manager_delegate.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_STUB_LOGIN_SESSION_MANAGER_DELEGATE_H_
+#define CHROME_BROWSER_CHROMEOS_LOGIN_SESSION_STUB_LOGIN_SESSION_MANAGER_DELEGATE_H_
+
+#include <string>
+
+#include "base/basictypes.h"
+#include "base/memory/scoped_ptr.h"
+#include "chrome/browser/chromeos/login/session/restore_after_crash_session_manager_delegate.h"
+
+class Profile;
+
+namespace chromeos {
+
+class StubLoginSessionManagerDelegate
+ : public RestoreAfterCrashSessionManagerDelegate {
+ public:
+ StubLoginSessionManagerDelegate(Profile* profile,
+ const std::string& login_user_id);
+ virtual ~StubLoginSessionManagerDelegate();
+
+ private:
+ // session_manager::SessionManagerDelegate implementation:
+ virtual void Start() OVERRIDE;
+
+ Profile* profile_;
+
+ DISALLOW_COPY_AND_ASSIGN(StubLoginSessionManagerDelegate);
+};
+
+} // namespace chromeos
+
+#endif // CHROME_BROWSER_CHROMEOS_LOGIN_SESSION_STUB_LOGIN_SESSION_MANAGER_DELEGATE_H_

Powered by Google App Engine
This is Rietveld 408576698