summaryrefslogtreecommitdiffstats
path: root/ppapi/tests/test_file_ref.cc
diff options
context:
space:
mode:
authordewittj@chromium.org <dewittj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-26 20:28:47 +0000
committerdewittj@chromium.org <dewittj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-26 20:28:47 +0000
commit23e78de18f2b97d58eb10cd0246bae75ac41c787 (patch)
tree806b13e2a3c1a4441875d27eaf9966da1a30d6db /ppapi/tests/test_file_ref.cc
parent9cecc03af4a94a60dd1d5f548d41c47e372dd167 (diff)
downloadchromium_src-23e78de18f2b97d58eb10cd0246bae75ac41c787.zip
chromium_src-23e78de18f2b97d58eb10cd0246bae75ac41c787.tar.gz
chromium_src-23e78de18f2b97d58eb10cd0246bae75ac41c787.tar.bz2
Revert 213933 "Move PPB_FileIO Query and Read implementation fro..."
Failures of PPAPITest.FileIO on Linux Tests (dbg) > Move PPB_FileIO Query and Read implementation from the renderer to the plugin process. > This sends the file descriptor to the plugin side and moves some FileIO > implementation from the renderer to the plugin, using that file descriptor. > > BUG=194304 > R=dmichael@chromium.org, sky@chromium.org, teravest@chromium.org > > Review URL: https://codereview.chromium.org/18063005 TBR=bbudge@chromium.org Review URL: https://codereview.chromium.org/20816002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@213976 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/tests/test_file_ref.cc')
-rw-r--r--ppapi/tests/test_file_ref.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/ppapi/tests/test_file_ref.cc b/ppapi/tests/test_file_ref.cc
index 3cce052..04e8ce1 100644
--- a/ppapi/tests/test_file_ref.cc
+++ b/ppapi/tests/test_file_ref.cc
@@ -366,10 +366,9 @@ std::string TestFileRef::TestQueryAndTouchFile() {
// Touch.
// last_access_time's granularity is 1 day
- const PP_Time last_access_time = 123 * 24 * 3600.0;
// last_modified_time's granularity is 2 seconds
- // See note in test_file_io.cc for why we use this time.
- const PP_Time last_modified_time = 100 * 24 * 3600.0;
+ const PP_Time last_access_time = 123 * 24 * 3600.0;
+ const PP_Time last_modified_time = 246.0;
callback.WaitForResult(file_ref.Touch(last_access_time, last_modified_time,
callback.GetCallback()));
CHECK_CALLBACK_BEHAVIOR(callback);