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

Unified Diff: content/browser/in_process_webkit/indexed_db_browsertest.cc

Issue 8082019: more content exports needed for unit_tests and browser_tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: revert export of browser_accessibility_win for now Created 9 years, 3 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
Index: content/browser/in_process_webkit/indexed_db_browsertest.cc
diff --git a/content/browser/in_process_webkit/indexed_db_browsertest.cc b/content/browser/in_process_webkit/indexed_db_browsertest.cc
index 06d160374c22e6cbc69a0d1dfbfde39fcb0acdbd..9390481fb3e168498b9bc85494d8c40fafa92839 100644
--- a/content/browser/in_process_webkit/indexed_db_browsertest.cc
+++ b/content/browser/in_process_webkit/indexed_db_browsertest.cc
@@ -146,7 +146,7 @@ IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTest, ClearLocalState) {
// With the levelDB backend, these are directories.
WebKitContext *webkit_context = profile.GetWebKitContext();
IndexedDBContext* idb_context = webkit_context->indexed_db_context();
- idb_context->set_data_path(temp_dir.path());
+ idb_context->set_data_path_for_testing(temp_dir.path());
protected_path = idb_context->GetIndexedDBFilePath(
DatabaseUtil::GetOriginIdentifier(kProtectedOrigin));
unprotected_path = idb_context->GetIndexedDBFilePath(
@@ -195,7 +195,7 @@ IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTest, ClearSessionOnlyDatabases) {
// Override the storage policy with our own.
idb_context->special_storage_policy_ = special_storage_policy;
- idb_context->set_data_path(temp_dir.path());
+ idb_context->set_data_path_for_testing(temp_dir.path());
normal_path = idb_context->GetIndexedDBFilePath(
DatabaseUtil::GetOriginIdentifier(kNormalOrigin));

Powered by Google App Engine
This is Rietveld 408576698