Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Side by Side Diff: content/browser/in_process_webkit/browser_webkitplatformsupport_impl.cc

Issue 16189015: [OBSOLETE] Slogging webkit_base out of existence. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 "base/sys_info.h" 9 #include "base/sys_info.h"
10 #include "content/browser/gpu/browser_gpu_channel_host_factory.h" 10 #include "content/browser/gpu/browser_gpu_channel_host_factory.h"
11 #include "third_party/WebKit/public/platform/WebData.h" 11 #include "third_party/WebKit/public/platform/WebData.h"
12 #include "third_party/WebKit/public/platform/WebString.h" 12 #include "third_party/WebKit/public/platform/WebString.h"
13 #include "third_party/WebKit/public/platform/WebURL.h" 13 #include "third_party/WebKit/public/platform/WebURL.h"
14 #include "webkit/base/file_path_string_conversions.h" 14 #include "webkit/common/base/file_path_string_conversions.h"
15 15
16 namespace content { 16 namespace content {
17 17
18 BrowserWebKitPlatformSupportImpl::BrowserWebKitPlatformSupportImpl() { 18 BrowserWebKitPlatformSupportImpl::BrowserWebKitPlatformSupportImpl() {
19 file_utilities_.set_sandbox_enabled(false); 19 file_utilities_.set_sandbox_enabled(false);
20 } 20 }
21 21
22 BrowserWebKitPlatformSupportImpl::~BrowserWebKitPlatformSupportImpl() { 22 BrowserWebKitPlatformSupportImpl::~BrowserWebKitPlatformSupportImpl() {
23 } 23 }
24 24
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 return file_util::Delete(path, false) ? 0 : 1; 121 return file_util::Delete(path, false) ? 0 : 1;
122 } 122 }
123 123
124 long long BrowserWebKitPlatformSupportImpl::availableDiskSpaceInBytes( 124 long long BrowserWebKitPlatformSupportImpl::availableDiskSpaceInBytes(
125 const WebKit::WebString& fileName) { 125 const WebKit::WebString& fileName) {
126 return base::SysInfo::AmountOfFreeDiskSpace( 126 return base::SysInfo::AmountOfFreeDiskSpace(
127 webkit_base::WebStringToFilePath(fileName)); 127 webkit_base::WebStringToFilePath(fileName));
128 } 128 }
129 129
130 } // namespace content 130 } // namespace content
OLDNEW
« no previous file with comments | « chrome/chrome_browser_extensions.gypi ('k') | content/browser/in_process_webkit/indexed_db_dispatcher_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698