summaryrefslogtreecommitdiffstats
path: root/chrome/default_plugin
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-30 23:56:18 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-30 23:56:18 +0000
commitb969648e443de8c767d7e2f6b34861b4a1ee3eec (patch)
treeb41dea85b620d7664038e2583614745bc4be6fae /chrome/default_plugin
parentf0a94b593178cfe95dd16424cca6a0144de0d440 (diff)
downloadchromium_src-b969648e443de8c767d7e2f6b34861b4a1ee3eec.zip
chromium_src-b969648e443de8c767d7e2f6b34861b4a1ee3eec.tar.gz
chromium_src-b969648e443de8c767d7e2f6b34861b4a1ee3eec.tar.bz2
windows: remove PathService::Get() that uses wstrings
This just required fixing the remaining callers. BUG=24672 Review URL: http://codereview.chromium.org/5356008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67783 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/default_plugin')
-rw-r--r--chrome/default_plugin/plugin_database_handler.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/default_plugin/plugin_database_handler.cc b/chrome/default_plugin/plugin_database_handler.cc
index a7c520e..bc2220a 100644
--- a/chrome/default_plugin/plugin_database_handler.cc
+++ b/chrome/default_plugin/plugin_database_handler.cc
@@ -43,8 +43,9 @@ bool PluginDatabaseHandler::DownloadPluginsFileIfNeeded(
plugin_finder_url_ = plugin_finder_url;
- PathService::Get(base::DIR_MODULE, &plugins_file_);
- plugins_file_ += L"\\chrome_plugins_file.xml";
+ FilePath module_path;
+ PathService::Get(base::DIR_MODULE, &module_path);
+ plugins_file_ = module_path.Append(L"chrome_plugins_file.xml").value();
bool initiate_download = false;
if (!file_util::PathExists(FilePath::FromWStringHack(plugins_file_))) {