diff options
Diffstat (limited to 'chrome/browser/safe_browsing')
-rw-r--r-- | chrome/browser/safe_browsing/safe_browsing_database_unittest.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/chrome/browser/safe_browsing/safe_browsing_database_unittest.cc b/chrome/browser/safe_browsing/safe_browsing_database_unittest.cc index 03a372d..59dc5ba 100644 --- a/chrome/browser/safe_browsing/safe_browsing_database_unittest.cc +++ b/chrome/browser/safe_browsing/safe_browsing_database_unittest.cc @@ -1176,22 +1176,22 @@ void UpdateDatabase(const std::wstring& initial_db, namespace { -const wchar_t* GetOldSafeBrowsingPath() { +std::wstring GetOldSafeBrowsingPath() { std::wstring path = L"old"; file_util::AppendToPath(&path, L"SafeBrowsing"); - return path.c_str(); + return path; } -const wchar_t* GetOldResponsePath() { +std::wstring GetOldResponsePath() { std::wstring path = L"old"; file_util::AppendToPath(&path, L"response"); - return path.c_str(); + return path; } -const wchar_t* GetOldUpdatesPath() { +std::wstring GetOldUpdatesPath() { std::wstring path = L"old"; file_util::AppendToPath(&path, L"updates"); - return path.c_str(); + return path; } } // namespace |