OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 "v8_proxy.h" | 5 #include "v8_proxy.h" |
6 #undef LOG | 6 #undef LOG |
7 | 7 |
8 #include "webkit/tools/test_shell/test_shell.h" | 8 #include "webkit/tools/test_shell/test_shell.h" |
9 | 9 |
10 | 10 |
(...skipping 541 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
552 } | 552 } |
553 | 553 |
554 void PrefetchDns(const std::string& hostname) {} | 554 void PrefetchDns(const std::string& hostname) {} |
555 | 555 |
556 void PrecacheUrl(const char16* url, int url_length) {} | 556 void PrecacheUrl(const char16* url, int url_length) {} |
557 | 557 |
558 void AppendToLog(const char* file, int line, const char* msg) { | 558 void AppendToLog(const char* file, int line, const char* msg) { |
559 logging::LogMessage(file, line).stream() << msg; | 559 logging::LogMessage(file, line).stream() << msg; |
560 } | 560 } |
561 | 561 |
562 bool GetMimeTypeFromExtension(const FilePath::StringType& ext, | |
563 std::string *mime_type) { | |
564 return net::GetMimeTypeFromExtension(ext, mime_type); | |
565 } | |
566 | |
567 bool GetMimeTypeFromFile(const FilePath& file_path, | |
568 std::string *mime_type) { | |
569 return net::GetMimeTypeFromFile(file_path, mime_type); | |
570 } | |
571 | |
572 bool GetPreferredExtensionForMimeType(const std::string& mime_type, | |
573 FilePath::StringType* ext) { | |
574 return net::GetPreferredExtensionForMimeType(mime_type, ext); | |
575 } | |
576 | |
577 #if defined(OS_MACOSX) | 562 #if defined(OS_MACOSX) |
578 SkBitmap* | 563 SkBitmap* |
579 #else | 564 #else |
580 GlueBitmap* | 565 GlueBitmap* |
581 #endif | 566 #endif |
582 GetBitmapResource(int resource_id) { | 567 GetBitmapResource(int resource_id) { |
583 return NULL; | 568 return NULL; |
584 } | 569 } |
585 | 570 |
586 bool GetApplicationDirectory(std::wstring *path) { | 571 bool GetApplicationDirectory(std::wstring *path) { |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
629 | 614 |
630 uint64 VisitedLinkHash(const char* canonical_url, size_t length) { | 615 uint64 VisitedLinkHash(const char* canonical_url, size_t length) { |
631 return 0; | 616 return 0; |
632 } | 617 } |
633 | 618 |
634 bool IsLinkVisited(uint64 link_hash) { | 619 bool IsLinkVisited(uint64 link_hash) { |
635 return false; | 620 return false; |
636 } | 621 } |
637 | 622 |
638 } // namespace webkit_glue | 623 } // namespace webkit_glue |
OLD | NEW |