OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 488 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
499 long WebKitClientImpl::databaseGetFileAttributes( | 499 long WebKitClientImpl::databaseGetFileAttributes( |
500 const WebKit::WebString& vfs_file_name) { | 500 const WebKit::WebString& vfs_file_name) { |
501 return 0; | 501 return 0; |
502 } | 502 } |
503 | 503 |
504 long long WebKitClientImpl::databaseGetFileSize( | 504 long long WebKitClientImpl::databaseGetFileSize( |
505 const WebKit::WebString& vfs_file_name) { | 505 const WebKit::WebString& vfs_file_name) { |
506 return 0; | 506 return 0; |
507 } | 507 } |
508 | 508 |
| 509 long long WebKitClientImpl::databaseGetSpaceAvailableForOrigin( |
| 510 const WebKit::WebString& origin_identifier) { |
| 511 return 0; |
| 512 } |
| 513 |
509 WebKit::WebString WebKitClientImpl::signedPublicKeyAndChallengeString( | 514 WebKit::WebString WebKitClientImpl::signedPublicKeyAndChallengeString( |
510 unsigned key_size_index, | 515 unsigned key_size_index, |
511 const WebKit::WebString& challenge, | 516 const WebKit::WebString& challenge, |
512 const WebKit::WebURL& url) { | 517 const WebKit::WebURL& url) { |
513 NOTREACHED(); | 518 NOTREACHED(); |
514 return WebKit::WebString(); | 519 return WebKit::WebString(); |
515 } | 520 } |
516 | 521 |
517 #if defined(OS_LINUX) | 522 #if defined(OS_LINUX) |
518 static size_t memoryUsageMBLinux() { | 523 static size_t memoryUsageMBLinux() { |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
585 ++shared_timer_suspended_; | 590 ++shared_timer_suspended_; |
586 } | 591 } |
587 | 592 |
588 void WebKitClientImpl::ResumeSharedTimer() { | 593 void WebKitClientImpl::ResumeSharedTimer() { |
589 // The shared timer may have fired or been adjusted while we were suspended. | 594 // The shared timer may have fired or been adjusted while we were suspended. |
590 if (--shared_timer_suspended_ == 0 && !shared_timer_.IsRunning()) | 595 if (--shared_timer_suspended_ == 0 && !shared_timer_.IsRunning()) |
591 setSharedTimerFireTime(shared_timer_fire_time_); | 596 setSharedTimerFireTime(shared_timer_fire_time_); |
592 } | 597 } |
593 | 598 |
594 } // namespace webkit_glue | 599 } // namespace webkit_glue |
OLD | NEW |