Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1970)

Unified Diff: content/shell/shell_content_browser_client.cc

Issue 12208057: Add explicit base to FilePath. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/shell/shell_content_browser_client.h ('k') | content/shell/shell_devtools_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/shell_content_browser_client.cc
diff --git a/content/shell/shell_content_browser_client.cc b/content/shell/shell_content_browser_client.cc
index ebed7514954e607a42952337aa65c2eed6701ac7..abc24d1ff7cc75674194e762ff06d3788016fa3a 100644
--- a/content/shell/shell_content_browser_client.cc
+++ b/content/shell/shell_content_browser_client.cc
@@ -34,8 +34,8 @@ namespace content {
namespace {
-FilePath GetWebKitRootDirFilePath() {
- FilePath base_path;
+base::FilePath GetWebKitRootDirFilePath() {
+ base::FilePath base_path;
PathService::Get(base::DIR_SOURCE_ROOT, &base_path);
if (file_util::PathExists(
base_path.Append(FILE_PATH_LITERAL("third_party/WebKit")))) {
@@ -135,7 +135,7 @@ void ShellContentBrowserClient::GetAdditionalMappedFilesForChildProcess(
int child_process_id,
std::vector<content::FileDescriptorInfo>* mappings) {
int flags = base::PLATFORM_FILE_OPEN | base::PLATFORM_FILE_READ;
- FilePath pak_file;
+ base::FilePath pak_file;
bool r = PathService::Get(base::DIR_ANDROID_APP_DATA, &pak_file);
CHECK(r);
pak_file = pak_file.Append(FILE_PATH_LITERAL("paks"));
« no previous file with comments | « content/shell/shell_content_browser_client.h ('k') | content/shell/shell_devtools_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698