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

Unified Diff: chrome/browser/browsing_data_local_storage_helper_browsertest.cc

Issue 10086018: More DomStorage house cleaning (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/browser/browser_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browsing_data_local_storage_helper_browsertest.cc
===================================================================
--- chrome/browser/browsing_data_local_storage_helper_browsertest.cc (revision 132437)
+++ chrome/browser/browsing_data_local_storage_helper_browsertest.cc (working copy)
@@ -22,7 +22,6 @@
#include "chrome/test/base/ui_test_utils.h"
#include "content/public/browser/dom_storage_context.h"
#include "testing/gtest/include/gtest/gtest.h"
-#include "webkit/dom_storage/dom_storage_types.h" // For the ENABLE flag.
using content::BrowserContext;
using content::BrowserThread;
@@ -125,15 +124,8 @@
CreateLocalStorageFilesForTest();
local_storage_helper->DeleteLocalStorageFile(
GetLocalStoragePathForTestingProfile().Append(FilePath(kTestFile0)));
-#ifdef ENABLE_NEW_DOM_STORAGE_BACKEND
BrowserThread::GetBlockingPool()->FlushForTesting();
-#else
- scoped_refptr<base::ThreadTestHelper> wait_for_webkit_thread(
- new base::ThreadTestHelper(
- BrowserThread::GetMessageLoopProxyForThread(
- BrowserThread::WEBKIT_DEPRECATED)));
- ASSERT_TRUE(wait_for_webkit_thread->Run());
-#endif
+
// Ensure the file has been deleted.
file_util::FileEnumerator file_enumerator(
GetLocalStoragePathForTestingProfile(),
« no previous file with comments | « no previous file | content/browser/browser_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698