diff options
author | marja@chromium.org <marja@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-08 10:44:03 +0000 |
---|---|---|
committer | marja@chromium.org <marja@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-08 10:44:03 +0000 |
commit | e9005779e42a908cb54400018b94a2f158116321 (patch) | |
tree | 4217188a1f8dea29170b89c87bcc8661a6003dc6 /content/test | |
parent | b5621306f7ff98d66d5a25920a8749f5034b6c7c (diff) | |
download | chromium_src-e9005779e42a908cb54400018b94a2f158116321.zip chromium_src-e9005779e42a908cb54400018b94a2f158116321.tar.gz chromium_src-e9005779e42a908cb54400018b94a2f158116321.tar.bz2 |
Appcache, local storage, indexed db, databases: skip exit-time deletion when restarting.
BUG=104291
TEST={ChromeAppCacheServiceTest, DOMStorageTest, IndexedDBBrowserTest, DatabaseTrackerTest}.SaveSessionState
Review URL: http://codereview.chromium.org/8820009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113590 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/test')
-rw-r--r-- | content/test/test_browser_context.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/content/test/test_browser_context.h b/content/test/test_browser_context.h index b35a678..71c4114 100644 --- a/content/test/test_browser_context.h +++ b/content/test/test_browser_context.h @@ -8,6 +8,7 @@ #include "base/compiler_specific.h" #include "base/file_path.h" +#include "base/gtest_prod_util.h" #include "base/memory/ref_counted.h" #include "base/scoped_temp_dir.h" #include "content/browser/browser_context.h" @@ -41,6 +42,9 @@ class TestBrowserContext : public content::BrowserContext { virtual fileapi::FileSystemContext* GetFileSystemContext() OVERRIDE; private: + FRIEND_TEST_ALL_PREFIXES(DOMStorageTest, SessionOnly); + FRIEND_TEST_ALL_PREFIXES(DOMStorageTest, SaveSessionState); + // WebKitContext, lazily initialized by GetWebKitContext(). scoped_refptr<WebKitContext> webkit_context_; |