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

Unified Diff: chrome/test/ppapi/ppapi_test.h

Issue 10787010: Switch to TimeDelta interfaces in chrome automation test infrastructure. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase onto master. Created 8 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
« no previous file with comments | « chrome/test/ppapi/ppapi_browsertest.cc ('k') | chrome/test/ppapi/ppapi_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/ppapi/ppapi_test.h
diff --git a/chrome/test/ppapi/ppapi_test.h b/chrome/test/ppapi/ppapi_test.h
index 4e53f74dedbd462f46330abd31e5a2c10d3dba61..4c91097ea74b37dcd79e3ba3fd93b5e68097d27d 100644
--- a/chrome/test/ppapi/ppapi_test.h
+++ b/chrome/test/ppapi/ppapi_test.h
@@ -44,7 +44,7 @@ class PPAPITestBase : public InProcessBrowserTest {
class TestFinishObserver : public content::NotificationObserver {
public:
TestFinishObserver(content::RenderViewHost* render_view_host,
- int timeout_s);
+ base::TimeDelta timeout);
bool WaitForFinish();
@@ -61,7 +61,7 @@ class PPAPITestBase : public InProcessBrowserTest {
bool finished_;
bool waiting_;
- int timeout_s_;
+ base::TimeDelta timeout_;
std::string result_;
content::NotificationRegistrar registrar_;
base::RepeatingTimer<TestFinishObserver> timer_;
« no previous file with comments | « chrome/test/ppapi/ppapi_browsertest.cc ('k') | chrome/test/ppapi/ppapi_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698