diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-07 19:21:48 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-07 19:21:48 +0000 |
commit | a732916421eb01c3a06187bf3e077e8ce0dd5912 (patch) | |
tree | 4981b7c3ceb04be445f093c1a7689107725f736e /content/common/sandbox_init_mac.cc | |
parent | 2dec8ec385e65c80571c5723dc572264a934b7c9 (diff) | |
download | chromium_src-a732916421eb01c3a06187bf3e077e8ce0dd5912.zip chromium_src-a732916421eb01c3a06187bf3e077e8ce0dd5912.tar.gz chromium_src-a732916421eb01c3a06187bf3e077e8ce0dd5912.tar.bz2 |
Use base namespace for FilePath in chrome/common and content/common.
Review URL: https://codereview.chromium.org/12210058
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181350 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/common/sandbox_init_mac.cc')
-rw-r--r-- | content/common/sandbox_init_mac.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/content/common/sandbox_init_mac.cc b/content/common/sandbox_init_mac.cc index 6e12c18..766497d 100644 --- a/content/common/sandbox_init_mac.cc +++ b/content/common/sandbox_init_mac.cc @@ -12,7 +12,7 @@ namespace content { -bool InitializeSandbox(int sandbox_type, const FilePath& allowed_dir) { +bool InitializeSandbox(int sandbox_type, const base::FilePath& allowed_dir) { // Warm up APIs before turning on the sandbox. Sandbox::SandboxWarmup(sandbox_type); @@ -24,12 +24,12 @@ bool InitializeSandbox(int sandbox_type, const FilePath& allowed_dir) { // false if the current process type doesn't need to be sandboxed or if the // sandbox was disabled from the command line. bool GetSandboxTypeFromCommandLine(int* sandbox_type, - FilePath* allowed_dir) { + base::FilePath* allowed_dir) { DCHECK(sandbox_type); DCHECK(allowed_dir); *sandbox_type = -1; - *allowed_dir = FilePath(); // Empty by default. + *allowed_dir = base::FilePath(); // Empty by default. const CommandLine& command_line = *CommandLine::ForCurrentProcess(); if (command_line.HasSwitch(switches::kNoSandbox)) @@ -78,7 +78,7 @@ bool GetSandboxTypeFromCommandLine(int* sandbox_type, bool InitializeSandbox() { int sandbox_type = 0; - FilePath allowed_dir; + base::FilePath allowed_dir; if (!GetSandboxTypeFromCommandLine(&sandbox_type, &allowed_dir)) return true; return InitializeSandbox(sandbox_type, allowed_dir); |