| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "webkit/glue/webkitclient_impl.h" | 5 #include "webkit/glue/webkitclient_impl.h" |
| 6 | 6 |
| 7 #if defined(OS_LINUX) | 7 #if defined(OS_LINUX) |
| 8 #include <malloc.h> | 8 #include <malloc.h> |
| 9 #endif | 9 #endif |
| 10 | 10 |
| (...skipping 436 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 447 return false; | 447 return false; |
| 448 } | 448 } |
| 449 | 449 |
| 450 bool WebKitClientImpl::getFileSize(const WebKit::WebString& path, | 450 bool WebKitClientImpl::getFileSize(const WebKit::WebString& path, |
| 451 long long& result) { | 451 long long& result) { |
| 452 NOTREACHED(); | 452 NOTREACHED(); |
| 453 return false; | 453 return false; |
| 454 } | 454 } |
| 455 | 455 |
| 456 bool WebKitClientImpl::getFileModificationTime(const WebKit::WebString& path, | 456 bool WebKitClientImpl::getFileModificationTime(const WebKit::WebString& path, |
| 457 time_t& result) { | 457 double& result) { |
| 458 NOTREACHED(); | 458 NOTREACHED(); |
| 459 return false; | 459 return false; |
| 460 } | 460 } |
| 461 | 461 |
| 462 WebKit::WebString WebKitClientImpl::directoryName( | 462 WebKit::WebString WebKitClientImpl::directoryName( |
| 463 const WebKit::WebString& path) { | 463 const WebKit::WebString& path) { |
| 464 NOTREACHED(); | 464 NOTREACHED(); |
| 465 return WebKit::WebString(); | 465 return WebKit::WebString(); |
| 466 } | 466 } |
| 467 | 467 |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 500 ++shared_timer_suspended_; | 500 ++shared_timer_suspended_; |
| 501 } | 501 } |
| 502 | 502 |
| 503 void WebKitClientImpl::ResumeSharedTimer() { | 503 void WebKitClientImpl::ResumeSharedTimer() { |
| 504 // The shared timer may have fired or been adjusted while we were suspended. | 504 // The shared timer may have fired or been adjusted while we were suspended. |
| 505 if (--shared_timer_suspended_ == 0 && !shared_timer_.IsRunning()) | 505 if (--shared_timer_suspended_ == 0 && !shared_timer_.IsRunning()) |
| 506 setSharedTimerFireTime(shared_timer_fire_time_); | 506 setSharedTimerFireTime(shared_timer_fire_time_); |
| 507 } | 507 } |
| 508 | 508 |
| 509 } // namespace webkit_glue | 509 } // namespace webkit_glue |
| OLD | NEW |