summaryrefslogtreecommitdiffstats
path: root/chrome/browser/profiles/profile.h
diff options
context:
space:
mode:
authorjwd@chromium.org <jwd@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-17 04:33:40 +0000
committerjwd@chromium.org <jwd@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-17 04:33:40 +0000
commit4251165a510cacb88fd7ab028d3e902fcbf78195 (patch)
tree16b63403919ce96e7ca2cb2605a56416082d9f46 /chrome/browser/profiles/profile.h
parentca2704c8bb6f89adf2fd5686aba000700247b603 (diff)
downloadchromium_src-4251165a510cacb88fd7ab028d3e902fcbf78195.zip
chromium_src-4251165a510cacb88fd7ab028d3e902fcbf78195.tar.gz
chromium_src-4251165a510cacb88fd7ab028d3e902fcbf78195.tar.bz2
Adding a first prototype of guest mode.
This currently doesn't support the guest contract (fresh profile each session). That will come in a future CL. Screenshot of UI available at https://docs.google.com/file/d/0B2G_JZ2jrki9VFdQem1GRkp2RWM/edit?usp=sharing BUG=103846 TEST=Launch chrome with the flag enable-desktop-guest-mode. The avatar menu should be shown even when there is only one profile, there should be a guest link in the menu and it should launch a new window with no avatar menu. Launching that window will also cause a directory called "Guest Profile" to be created in the user data dir. Review URL: https://chromiumcodereview.appspot.com/11877033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211931 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/profiles/profile.h')
-rw-r--r--chrome/browser/profiles/profile.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/profiles/profile.h b/chrome/browser/profiles/profile.h
index 61ef0ca..19a232a9 100644
--- a/chrome/browser/profiles/profile.h
+++ b/chrome/browser/profiles/profile.h
@@ -325,7 +325,7 @@ class Profile : public content::BrowserContext {
std::string GetDebugName();
// Returns whether it is a guest session.
- bool IsGuestSession() const;
+ virtual bool IsGuestSession() const;
// Did the user restore the last session? This is set by SessionRestore.
void set_restored_last_session(bool restored_last_session) {