diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-11 17:36:07 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-11 17:36:07 +0000 |
commit | 7567484144da059e2c2c2a818b06660a5459052f (patch) | |
tree | a4ceafc7e890051c25dbdd54b170d0f5794dd229 /chrome/common/chrome_content_client.cc | |
parent | 8a25d54d6eb190a8b82479b5309a892c1080a372 (diff) | |
download | chromium_src-7567484144da059e2c2c2a818b06660a5459052f.zip chromium_src-7567484144da059e2c2c2a818b06660a5459052f.tar.gz chromium_src-7567484144da059e2c2c2a818b06660a5459052f.tar.bz2 |
Move PathExists to base namespace.
BUG=
TBR=jam@chromium.org
Review URL: https://codereview.chromium.org/18286004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211147 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/chrome_content_client.cc')
-rw-r--r-- | chrome/common/chrome_content_client.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/chrome/common/chrome_content_client.cc b/chrome/common/chrome_content_client.cc index 44101fa..d20802d 100644 --- a/chrome/common/chrome_content_client.cc +++ b/chrome/common/chrome_content_client.cc @@ -137,7 +137,7 @@ void ComputeBuiltInPlugins(std::vector<content::PepperPluginInfo>* plugins) { static bool skip_pdf_file_check = false; base::FilePath path; if (PathService::Get(chrome::FILE_PDF_PLUGIN, &path)) { - if (skip_pdf_file_check || file_util::PathExists(path)) { + if (skip_pdf_file_check || base::PathExists(path)) { content::PepperPluginInfo pdf; pdf.path = path; pdf.name = chrome::ChromeContentClient::kPDFPluginName; @@ -165,7 +165,7 @@ void ComputeBuiltInPlugins(std::vector<content::PepperPluginInfo>* plugins) { // switch. static bool skip_nacl_file_check = false; if (PathService::Get(chrome::FILE_NACL_PLUGIN, &path)) { - if (skip_nacl_file_check || file_util::PathExists(path)) { + if (skip_nacl_file_check || base::PathExists(path)) { content::PepperPluginInfo nacl; nacl.path = path; nacl.name = chrome::ChromeContentClient::kNaClPluginName; @@ -190,7 +190,7 @@ void ComputeBuiltInPlugins(std::vector<content::PepperPluginInfo>* plugins) { // entirely with o1d. static bool skip_o3d_file_check = false; if (PathService::Get(chrome::FILE_O3D_PLUGIN, &path)) { - if (skip_o3d_file_check || file_util::PathExists(path)) { + if (skip_o3d_file_check || base::PathExists(path)) { content::PepperPluginInfo o3d; o3d.path = path; o3d.name = kO3DPluginName; @@ -209,7 +209,7 @@ void ComputeBuiltInPlugins(std::vector<content::PepperPluginInfo>* plugins) { static bool skip_o1d_file_check = false; if (PathService::Get(chrome::FILE_O1D_PLUGIN, &path)) { - if (skip_o1d_file_check || file_util::PathExists(path)) { + if (skip_o1d_file_check || base::PathExists(path)) { content::PepperPluginInfo o1d; o1d.path = path; o1d.name = kO1DPluginName; @@ -228,7 +228,7 @@ void ComputeBuiltInPlugins(std::vector<content::PepperPluginInfo>* plugins) { static bool skip_gtalk_file_check = false; if (PathService::Get(chrome::FILE_GTALK_PLUGIN, &path)) { - if (skip_gtalk_file_check || file_util::PathExists(path)) { + if (skip_gtalk_file_check || base::PathExists(path)) { content::PepperPluginInfo gtalk; gtalk.path = path; gtalk.name = kGTalkPluginName; @@ -249,7 +249,7 @@ void ComputeBuiltInPlugins(std::vector<content::PepperPluginInfo>* plugins) { !defined(WIDEVINE_CDM_IS_COMPONENT) static bool skip_widevine_cdm_file_check = false; if (PathService::Get(chrome::FILE_WIDEVINE_CDM_ADAPTER, &path)) { - if (skip_widevine_cdm_file_check || file_util::PathExists(path)) { + if (skip_widevine_cdm_file_check || base::PathExists(path)) { content::PepperPluginInfo widevine_cdm; widevine_cdm.is_out_of_process = true; widevine_cdm.path = path; |