commit | 4251165a510cacb88fd7ab028d3e902fcbf78195 | [log] [tgz] |
---|---|---|
author | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Wed Jul 17 04:33:40 2013 |
committer | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Wed Jul 17 04:33:40 2013 |
tree | 16b63403919ce96e7ca2cb2605a56416082d9f46 | |
parent | ca2704c8bb6f89adf2fd5686aba000700247b603 [diff] [blame] |
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
diff --git a/content/shell/shell_browser_context.cc b/content/shell/shell_browser_context.cc index 8d3dc3ba..281862fc 100644 --- a/content/shell/shell_browser_context.cc +++ b/content/shell/shell_browser_context.cc
@@ -104,7 +104,7 @@ file_util::CreateDirectory(path_); } -base::FilePath ShellBrowserContext::GetPath() { +base::FilePath ShellBrowserContext::GetPath() const { return path_; }