Index: content/browser/in_process_webkit/dom_storage_context.h |
diff --git a/content/browser/in_process_webkit/dom_storage_context.h b/content/browser/in_process_webkit/dom_storage_context.h |
index 09b0ef6339ea570f7e49ccc8f04f92e78dc5f282..84acb5ba83f7f2a01f5e9484d87be7b0221a3b4a 100644 |
--- a/content/browser/in_process_webkit/dom_storage_context.h |
+++ b/content/browser/in_process_webkit/dom_storage_context.h |
@@ -109,10 +109,9 @@ class CONTENT_EXPORT DOMStorageContext { |
clear_local_state_on_exit_ = clear_local_state; |
} |
-#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: |