Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / extensions / api / idle / idle_api.cc
index 2a0d2d8..a80d0cf 100644 (file)
@@ -30,7 +30,7 @@ int ClampThreshold(int threshold) {
 
 namespace extensions {
 
-bool IdleQueryStateFunction::RunImpl() {
+bool IdleQueryStateFunction::RunAsync() {
   int threshold;
   EXTENSION_FUNCTION_VALIDATE(args_->GetInteger(0, &threshold));
   threshold = ClampThreshold(threshold);
@@ -47,7 +47,7 @@ void IdleQueryStateFunction::IdleStateCallback(IdleState state) {
   SendResponse(true);
 }
 
-bool IdleSetDetectionIntervalFunction::RunImpl() {
+bool IdleSetDetectionIntervalFunction::RunSync() {
   int threshold;
   EXTENSION_FUNCTION_VALIDATE(args_->GetInteger(0, &threshold));
   threshold = ClampThreshold(threshold);