diff options
author | joaodasilva@chromium.org <joaodasilva@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-06 12:53:29 +0000 |
---|---|---|
committer | joaodasilva@chromium.org <joaodasilva@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-06 12:53:29 +0000 |
commit | 211c6ff7c99de8fee83beae4d9b99414f56e8046 (patch) | |
tree | 141eced457d5966f6bdd725bd6028eae5c6b6a5f /chrome/common/chrome_paths.cc | |
parent | 721c82b1e19a0707ffed91a209dcb1da77948b79 (diff) | |
download | chromium_src-211c6ff7c99de8fee83beae4d9b99414f56e8046.zip chromium_src-211c6ff7c99de8fee83beae4d9b99414f56e8046.tar.gz chromium_src-211c6ff7c99de8fee83beae4d9b99414f56e8046.tar.bz2 |
Fixed policy_prefs_ui.py pyauto test on Linux.
The tests were failing because the managed platform provider doesn't exist
(on Linux) if /etc/chromium/policies/managed doesn't exist.
BUG=99060
TEST=policy_prefs_ui.py passes on all platforms
Review URL: http://codereview.chromium.org/8138021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104286 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/chrome_paths.cc')
-rw-r--r-- | chrome/common/chrome_paths.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/chrome/common/chrome_paths.cc b/chrome/common/chrome_paths.cc index 861385f..cfd6058 100644 --- a/chrome/common/chrome_paths.cc +++ b/chrome/common/chrome_paths.cc @@ -305,8 +305,6 @@ bool PathProvider(int key, FilePath* result) { #else cur = FilePath(FILE_PATH_LITERAL("/etc/chromium/policies")); #endif - if (!file_util::PathExists(cur)) // we don't want to create this - return false; break; } #endif |