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

Side by Side Diff: ash/test/test_shell_delegate.h

Issue 14139003: Chrome OS multi-profiles backend and UI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: move IsMultiProfilesEnabled() out of cros Created 7 years, 8 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 | « ash/system/user/tray_user.cc ('k') | ash/test/test_shell_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
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ASH_TEST_TEST_SHELL_DELEGATE_H_ 5 #ifndef ASH_TEST_TEST_SHELL_DELEGATE_H_
6 #define ASH_TEST_TEST_SHELL_DELEGATE_H_ 6 #define ASH_TEST_TEST_SHELL_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "ash/shell_delegate.h" 10 #include "ash/shell_delegate.h"
(...skipping 12 matching lines...) Expand all
23 class TestShellDelegate : public ShellDelegate { 23 class TestShellDelegate : public ShellDelegate {
24 public: 24 public:
25 TestShellDelegate(); 25 TestShellDelegate();
26 virtual ~TestShellDelegate(); 26 virtual ~TestShellDelegate();
27 27
28 // Overridden from ShellDelegate: 28 // Overridden from ShellDelegate:
29 virtual bool IsUserLoggedIn() const OVERRIDE; 29 virtual bool IsUserLoggedIn() const OVERRIDE;
30 virtual bool IsSessionStarted() const OVERRIDE; 30 virtual bool IsSessionStarted() const OVERRIDE;
31 virtual bool IsGuestSession() const OVERRIDE; 31 virtual bool IsGuestSession() const OVERRIDE;
32 virtual bool IsFirstRunAfterBoot() const OVERRIDE; 32 virtual bool IsFirstRunAfterBoot() const OVERRIDE;
33 virtual bool IsMultiProfilesEnabled() const OVERRIDE;
33 virtual bool IsRunningInForcedAppMode() const OVERRIDE; 34 virtual bool IsRunningInForcedAppMode() const OVERRIDE;
34 virtual bool CanLockScreen() const OVERRIDE; 35 virtual bool CanLockScreen() const OVERRIDE;
35 virtual void LockScreen() OVERRIDE; 36 virtual void LockScreen() OVERRIDE;
36 virtual void UnlockScreen() OVERRIDE; 37 virtual void UnlockScreen() OVERRIDE;
37 virtual bool IsScreenLocked() const OVERRIDE; 38 virtual bool IsScreenLocked() const OVERRIDE;
38 virtual void PreInit() OVERRIDE; 39 virtual void PreInit() OVERRIDE;
39 virtual void Shutdown() OVERRIDE; 40 virtual void Shutdown() OVERRIDE;
40 virtual void Exit() OVERRIDE; 41 virtual void Exit() OVERRIDE;
41 virtual void NewTab() OVERRIDE; 42 virtual void NewTab() OVERRIDE;
42 virtual void NewWindow(bool incognito) OVERRIDE; 43 virtual void NewWindow(bool incognito) OVERRIDE;
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 118
118 scoped_ptr<content::BrowserContext> current_browser_context_; 119 scoped_ptr<content::BrowserContext> current_browser_context_;
119 120
120 DISALLOW_COPY_AND_ASSIGN(TestShellDelegate); 121 DISALLOW_COPY_AND_ASSIGN(TestShellDelegate);
121 }; 122 };
122 123
123 } // namespace test 124 } // namespace test
124 } // namespace ash 125 } // namespace ash
125 126
126 #endif // ASH_TEST_TEST_SHELL_DELEGATE_H_ 127 #endif // ASH_TEST_TEST_SHELL_DELEGATE_H_
OLDNEW
« no previous file with comments | « ash/system/user/tray_user.cc ('k') | ash/test/test_shell_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698