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

Unified Diff: chrome_frame/test/delete_chrome_history_test.cc

Issue 10197011: Share the "get CF profile dir" code between ChromeFramePlugin and chrome_frame_test_utils.h. (Closed) Base URL: svn://svn.chromium.org/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 | « chrome_frame/test/chrome_frame_test_utils.cc ('k') | chrome_frame/test/proxy_factory_mock.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_frame/test/delete_chrome_history_test.cc
diff --git a/chrome_frame/test/delete_chrome_history_test.cc b/chrome_frame/test/delete_chrome_history_test.cc
index 75fa48b3bed6e7c67590c6147b2ab41fe034d7b4..ee4cfcf5b253a8f862a7394c43cbffd0986c176e 100644
--- a/chrome_frame/test/delete_chrome_history_test.cc
+++ b/chrome_frame/test/delete_chrome_history_test.cc
@@ -97,9 +97,10 @@ const size_t kBlankPngFileLength = 95;
// Looks up |element_name| in the Chrome form data DB and ensures that the
// results match |matcher|.
ACTION_P2(ExpectFormValuesForElementNameMatch, element_name, matcher) {
+ FilePath root_path;
+ GetChromeFrameProfilePath(kIexploreProfileName, &root_path);
FilePath profile_path(
- chrome_frame_test::GetProfilePath(kIexploreProfileName)
- .Append(L"Default").Append(chrome::kWebDataFilename));
+ root_path.Append(L"Default").Append(chrome::kWebDataFilename));
WebDatabase web_database;
sql::InitStatus init_status = web_database.Init(profile_path);
« no previous file with comments | « chrome_frame/test/chrome_frame_test_utils.cc ('k') | chrome_frame/test/proxy_factory_mock.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698