summaryrefslogtreecommitdiffstats
path: root/chrome/browser/background_mode_manager.cc
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-16 04:56:06 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-16 04:56:06 +0000
commit6b0349ef4ab90a6b99fc568f40e872a7f2ca39c9 (patch)
tree9ba478afe564003c74927c1530741846f6aa1336 /chrome/browser/background_mode_manager.cc
parentb679032aef9317482f87ceaf67ee138aaa67a152 (diff)
downloadchromium_src-6b0349ef4ab90a6b99fc568f40e872a7f2ca39c9.zip
chromium_src-6b0349ef4ab90a6b99fc568f40e872a7f2ca39c9.tar.gz
chromium_src-6b0349ef4ab90a6b99fc568f40e872a7f2ca39c9.tar.bz2
Move xdg_util into base/nix. I originally wanted to use base/linux, but you
can't have a namespace called "linux" because it's ifdefed by GCC to be a number. Same for "unix". "x11" was discarded because some future stuff in here will not be related to x11. This also renames base_paths_posix to base_paths_linux since this does not apply to mac, and normally posix applies to mac (this confused me when I had to edit it for the XDG stuff). TEST=it compiles BUG=none Review URL: http://codereview.chromium.org/3778007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62848 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/background_mode_manager.cc')
-rw-r--r--chrome/browser/background_mode_manager.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/background_mode_manager.cc b/chrome/browser/background_mode_manager.cc
index d7999da..ef16b49 100644
--- a/chrome/browser/background_mode_manager.cc
+++ b/chrome/browser/background_mode_manager.cc
@@ -34,7 +34,7 @@
#include "base/file_util.h"
#include "base/task.h"
#include "base/utf_string_conversions.h"
-#include "base/xdg_util.h"
+#include "base/nix/xdg_util.h"
#include "chrome/common/chrome_version_info.h"
#endif
@@ -66,7 +66,7 @@ namespace {
FilePath GetAutostartDirectory(base::Environment* environment) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE));
FilePath result =
- base::GetXDGDirectory(environment, kXdgConfigHome, kConfig);
+ base::nix::GetXDGDirectory(environment, kXdgConfigHome, kConfig);
result = result.Append(kAutostart);
return result;
}