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

Side by Side Diff: content/common/database_util.cc

Issue 11787003: Update some #includes in content/common/ for new Platform directory (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Several of these directories have been handled in other bugs, so this latest patchset are the ones … Created 7 years, 11 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) 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 "content/common/database_util.h" 5 #include "content/common/database_util.h"
6 6
7 #include "content/common/child_thread.h" 7 #include "content/common/child_thread.h"
8 #include "content/common/database_messages.h" 8 #include "content/common/database_messages.h"
9 #include "ipc/ipc_sync_message_filter.h" 9 #include "ipc/ipc_sync_message_filter.h"
10 #include "third_party/WebKit/Source/Platform/chromium/public/WebString.h"
10 #include "third_party/sqlite/sqlite3.h" 11 #include "third_party/sqlite/sqlite3.h"
11 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h"
12 12
13 using WebKit::WebKitPlatformSupport; 13 using WebKit::WebKitPlatformSupport;
14 using WebKit::WebString; 14 using WebKit::WebString;
15 15
16 namespace content { 16 namespace content {
17 17
18 WebKitPlatformSupport::FileHandle DatabaseUtil::DatabaseOpenFile( 18 WebKitPlatformSupport::FileHandle DatabaseUtil::DatabaseOpenFile(
19 const WebString& vfs_file_name, int desired_flags) { 19 const WebString& vfs_file_name, int desired_flags) {
20 IPC::PlatformFileForTransit file_handle = 20 IPC::PlatformFileForTransit file_handle =
21 IPC::InvalidPlatformFileForTransit(); 21 IPC::InvalidPlatformFileForTransit();
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 long long DatabaseUtil::DatabaseGetSpaceAvailable( 57 long long DatabaseUtil::DatabaseGetSpaceAvailable(
58 const WebString& origin_identifier) { 58 const WebString& origin_identifier) {
59 int64 rv = 0LL; 59 int64 rv = 0LL;
60 scoped_refptr<IPC::SyncMessageFilter> filter( 60 scoped_refptr<IPC::SyncMessageFilter> filter(
61 ChildThread::current()->sync_message_filter()); 61 ChildThread::current()->sync_message_filter());
62 filter->Send(new DatabaseHostMsg_GetSpaceAvailable(origin_identifier, &rv)); 62 filter->Send(new DatabaseHostMsg_GetSpaceAvailable(origin_identifier, &rv));
63 return rv; 63 return rv;
64 } 64 }
65 65
66 } // namespace content 66 } // namespace content
OLDNEW
« no previous file with comments | « content/common/child_process_sandbox_support_impl_linux.cc ('k') | content/common/db_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698