diff options
author | jwd@chromium.org <jwd@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-17 04:33:40 +0000 |
---|---|---|
committer | jwd@chromium.org <jwd@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-17 04:33:40 +0000 |
commit | 4251165a510cacb88fd7ab028d3e902fcbf78195 (patch) | |
tree | 16b63403919ce96e7ca2cb2605a56416082d9f46 /content/public/test/test_browser_context.h | |
parent | ca2704c8bb6f89adf2fd5686aba000700247b603 (diff) | |
download | chromium_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 'content/public/test/test_browser_context.h')
-rw-r--r-- | content/public/test/test_browser_context.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content/public/test/test_browser_context.h b/content/public/test/test_browser_context.h index e877059..4799180 100644 --- a/content/public/test/test_browser_context.h +++ b/content/public/test/test_browser_context.h @@ -27,7 +27,7 @@ class TestBrowserContext : public BrowserContext { void SetSpecialStoragePolicy(quota::SpecialStoragePolicy* policy); - virtual base::FilePath GetPath() OVERRIDE; + virtual base::FilePath GetPath() const OVERRIDE; virtual bool IsOffTheRecord() const OVERRIDE; virtual DownloadManagerDelegate* GetDownloadManagerDelegate() OVERRIDE; virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE; |