From c870c76357fc05d3f7181f8121181f983bd25e7f Mon Sep 17 00:00:00 2001 From: "estade@chromium.org" Date: Wed, 28 Jan 2009 05:47:15 +0000 Subject: Safe browsing cleanup: * wstring -> FilePath * create versions of WriteFile/ReadFile with FilePath signatures Review URL: http://codereview.chromium.org/19610 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8797 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/common/chrome_constants.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'chrome/common/chrome_constants.cc') diff --git a/chrome/common/chrome_constants.cc b/chrome/common/chrome_constants.cc index 17c8314..35cb15f 100644 --- a/chrome/common/chrome_constants.cc +++ b/chrome/common/chrome_constants.cc @@ -4,6 +4,10 @@ #include "chrome/common/chrome_constants.h" +#include "base/file_path.h" + +#define FPL FILE_PATH_LITERAL + namespace chrome { // The following should not be used for UI strings; they are meant // for system strings only. UI changes should be made in the GRD. @@ -31,7 +35,7 @@ const wchar_t kCookieFilename[] = L"Cookies"; const wchar_t kHistoryFilename[] = L"History"; const wchar_t kLocalStateFilename[] = L"Local State"; const wchar_t kPreferencesFilename[] = L"Preferences"; -const wchar_t kSafeBrowsingFilename[] = L"Safe Browsing"; +const FilePath::CharType kSafeBrowsingFilename[] = FPL("Safe Browsing"); const wchar_t kThumbnailsFilename[] = L"Thumbnails"; const wchar_t kUserDataDirname[] = L"User Data"; const wchar_t kUserScriptsDirname[] = L"User Scripts"; -- cgit v1.1