| Index: content/shell/shell_browser_context.cc
|
| ===================================================================
|
| --- content/shell/shell_browser_context.cc (revision 141792)
|
| +++ content/shell/shell_browser_context.cc (working copy)
|
| @@ -29,15 +29,6 @@
|
|
|
| namespace content {
|
|
|
| -namespace {
|
| -
|
| -#if defined(OS_LINUX)
|
| -const char kDotConfigDir[] = ".config";
|
| -const char kXdgConfigHomeEnvVar[] = "XDG_CONFIG_HOME";
|
| -#endif
|
| -
|
| -} // namespace
|
| -
|
| ShellBrowserContext::ShellBrowserContext() {
|
| InitWhileIOAllowed();
|
| }
|
| @@ -60,9 +51,10 @@
|
| path_ = path_.Append(std::wstring(L"content_shell"));
|
| #elif defined(OS_LINUX)
|
| scoped_ptr<base::Environment> env(base::Environment::Create());
|
| - FilePath config_dir(base::nix::GetXDGDirectory(env.get(),
|
| - kXdgConfigHomeEnvVar,
|
| - kDotConfigDir));
|
| + FilePath config_dir(
|
| + base::nix::GetXDGDirectory(env.get(),
|
| + base::nix::kXdgConfigHomeEnvVar,
|
| + base::nix::kDotConfigDir));
|
| path_ = config_dir.Append("content_shell");
|
| #elif defined(OS_MACOSX)
|
| CHECK(PathService::Get(base::DIR_APP_DATA, &path_));
|
|
|