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

Unified Diff: content/browser/in_process_webkit/indexed_db_context.h

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_context.h
diff --git a/content/browser/in_process_webkit/indexed_db_context.h b/content/browser/in_process_webkit/indexed_db_context.h
index 4094109f6a468de3ce991310fbeb060838b6b70e..a7207e648d50a83371edd076601eb68903023fb5 100644
--- a/content/browser/in_process_webkit/indexed_db_context.h
+++ b/content/browser/in_process_webkit/indexed_db_context.h
@@ -75,10 +75,10 @@ class CONTENT_EXPORT IndexedDBContext
quota::QuotaManagerProxy* quota_manager_proxy();
-#ifdef UNIT_TEST
// For unit tests allow to override the |data_path_|.
- void set_data_path(const FilePath& data_path) { data_path_ = data_path; }
-#endif
+ void set_data_path_for_testing(const FilePath& data_path) {
+ data_path_ = data_path;
+ }
private:
FRIEND_TEST(ExtensionServiceTest, ClearExtensionData);

Powered by Google App Engine
This is Rietveld 408576698