| 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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 WebKit::WebPluginListBuilder* builder) { | 105 WebKit::WebPluginListBuilder* builder) { |
| 106 NOTREACHED(); | 106 NOTREACHED(); |
| 107 } | 107 } |
| 108 | 108 |
| 109 WebKit::WebData BrowserWebKitPlatformSupportImpl::loadResource( | 109 WebKit::WebData BrowserWebKitPlatformSupportImpl::loadResource( |
| 110 const char* name) { | 110 const char* name) { |
| 111 NOTREACHED(); | 111 NOTREACHED(); |
| 112 return WebKit::WebData(); | 112 return WebKit::WebData(); |
| 113 } | 113 } |
| 114 | 114 |
| 115 WebKit::WebSharedWorkerRepository* | |
| 116 BrowserWebKitPlatformSupportImpl::sharedWorkerRepository() { | |
| 117 NOTREACHED(); | |
| 118 return NULL; | |
| 119 } | |
| 120 | |
| 121 int BrowserWebKitPlatformSupportImpl::databaseDeleteFile( | 115 int BrowserWebKitPlatformSupportImpl::databaseDeleteFile( |
| 122 const WebKit::WebString& vfs_file_name, bool sync_dir) { | 116 const WebKit::WebString& vfs_file_name, bool sync_dir) { |
| 123 const FilePath path = webkit_glue::WebStringToFilePath(vfs_file_name); | 117 const FilePath path = webkit_glue::WebStringToFilePath(vfs_file_name); |
| 124 return file_util::Delete(path, false) ? 0 : 1; | 118 return file_util::Delete(path, false) ? 0 : 1; |
| 125 } | 119 } |
| 126 | 120 |
| 127 GpuChannelHostFactory* | 121 GpuChannelHostFactory* |
| 128 BrowserWebKitPlatformSupportImpl::GetGpuChannelHostFactory() { | 122 BrowserWebKitPlatformSupportImpl::GetGpuChannelHostFactory() { |
| 129 return content::BrowserGpuChannelHostFactory::instance(); | 123 return content::BrowserGpuChannelHostFactory::instance(); |
| 130 } | 124 } |
| OLD | NEW |