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

Unified Diff: ppapi/tests/test_file_ref.cc

Issue 18063005: Do PPB_FileIO Query and Read in the plugin process. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase. Created 7 years, 5 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
« ppapi/shared_impl/test_globals.h ('K') | « ppapi/tests/test_file_io.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/tests/test_file_ref.cc
diff --git a/ppapi/tests/test_file_ref.cc b/ppapi/tests/test_file_ref.cc
index 04e8ce1ff67a72a85c44f4279d22b5eedb0dcb34..3cce05232a2712174fea887547f0fa37aabacee8 100644
--- a/ppapi/tests/test_file_ref.cc
+++ b/ppapi/tests/test_file_ref.cc
@@ -366,9 +366,10 @@ std::string TestFileRef::TestQueryAndTouchFile() {
// Touch.
// last_access_time's granularity is 1 day
- // last_modified_time's granularity is 2 seconds
const PP_Time last_access_time = 123 * 24 * 3600.0;
- const PP_Time last_modified_time = 246.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;
callback.WaitForResult(file_ref.Touch(last_access_time, last_modified_time,
callback.GetCallback()));
CHECK_CALLBACK_BEHAVIOR(callback);
« ppapi/shared_impl/test_globals.h ('K') | « ppapi/tests/test_file_io.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698