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

Unified Diff: content/browser/in_process_webkit/dom_storage_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/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:

Powered by Google App Engine
This is Rietveld 408576698