OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "content/browser/in_process_webkit/browser_webkitplatformsupport_impl.h
" | 5 #include "content/browser/in_process_webkit/browser_webkitplatformsupport_impl.h
" |
6 | 6 |
7 #include "base/file_util.h" | 7 #include "base/file_util.h" |
8 #include "base/logging.h" | 8 #include "base/logging.h" |
9 #include "content/browser/gpu/browser_gpu_channel_host_factory.h" | 9 #include "content/browser/gpu/browser_gpu_channel_host_factory.h" |
10 #include "content/public/common/serialized_script_value.h" | 10 #include "content/public/common/serialized_script_value.h" |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 return false; | 45 return false; |
46 } | 46 } |
47 | 47 |
48 unsigned long long BrowserWebKitPlatformSupportImpl::visitedLinkHash( | 48 unsigned long long BrowserWebKitPlatformSupportImpl::visitedLinkHash( |
49 const char* canonical_url, | 49 const char* canonical_url, |
50 size_t length) { | 50 size_t length) { |
51 NOTREACHED(); | 51 NOTREACHED(); |
52 return 0; | 52 return 0; |
53 } | 53 } |
54 | 54 |
55 bool BrowserWebKitPlatformSupportImpl::isLinkVisited(unsigned long long link_has
h) { | 55 bool BrowserWebKitPlatformSupportImpl::isLinkVisited( |
| 56 unsigned long long link_hash) { |
56 NOTREACHED(); | 57 NOTREACHED(); |
57 return false; | 58 return false; |
58 } | 59 } |
59 | 60 |
60 WebKit::WebMessagePortChannel* | 61 WebKit::WebMessagePortChannel* |
61 BrowserWebKitPlatformSupportImpl::createMessagePortChannel() { | 62 BrowserWebKitPlatformSupportImpl::createMessagePortChannel() { |
62 NOTREACHED(); | 63 NOTREACHED(); |
63 return NULL; | 64 return NULL; |
64 } | 65 } |
65 | 66 |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 const FilePath path = webkit_base::WebStringToFilePath(vfs_file_name); | 120 const FilePath path = webkit_base::WebStringToFilePath(vfs_file_name); |
120 return file_util::Delete(path, false) ? 0 : 1; | 121 return file_util::Delete(path, false) ? 0 : 1; |
121 } | 122 } |
122 | 123 |
123 GpuChannelHostFactory* | 124 GpuChannelHostFactory* |
124 BrowserWebKitPlatformSupportImpl::GetGpuChannelHostFactory() { | 125 BrowserWebKitPlatformSupportImpl::GetGpuChannelHostFactory() { |
125 return BrowserGpuChannelHostFactory::instance(); | 126 return BrowserGpuChannelHostFactory::instance(); |
126 } | 127 } |
127 | 128 |
128 } // namespace content | 129 } // namespace content |
OLD | NEW |