summaryrefslogtreecommitdiffstats
path: root/chrome/browser/plugin_service.h
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-30 17:43:17 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-30 17:43:17 +0000
commitf77d8762d987502bc4df7d861ae20943edf076cd (patch)
treee9e5b8c5f08d4d5af786bb9c8edabfdef7fd6a2d /chrome/browser/plugin_service.h
parentb488ea7872d49c212507c7b4827a74aa5501fbc6 (diff)
downloadchromium_src-f77d8762d987502bc4df7d861ae20943edf076cd.zip
chromium_src-f77d8762d987502bc4df7d861ae20943edf076cd.tar.gz
chromium_src-f77d8762d987502bc4df7d861ae20943edf076cd.tar.bz2
Use a plain ASCII string for the UI locale in the plugin service.
Removes a few needless conversions. Review URL: http://codereview.chromium.org/3075012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54339 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/plugin_service.h')
-rw-r--r--chrome/browser/plugin_service.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/plugin_service.h b/chrome/browser/plugin_service.h
index fd1633d..9745973 100644
--- a/chrome/browser/plugin_service.h
+++ b/chrome/browser/plugin_service.h
@@ -61,7 +61,7 @@ class PluginService
const FilePath& GetChromePluginDataDir();
// Gets the browser's UI locale.
- const std::wstring& GetUILocale();
+ const std::string& GetUILocale();
// Returns the plugin process host corresponding to the plugin process that
// has been started by this service. Returns NULL if no process has been
@@ -135,7 +135,7 @@ class PluginService
FilePath chrome_plugin_data_dir_;
// The browser's UI locale.
- const std::wstring ui_locale_;
+ const std::string ui_locale_;
// Map of plugin paths to the origin they are restricted to. Used for
// extension-only plugins.