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

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

Issue 10696166: Remove #pragma once from content (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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
« no previous file with comments | « content/common/css_colors.h ('k') | content/common/db_message_filter.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef CONTENT_COMMON_DATABASE_UTIL_H_ 5 #ifndef CONTENT_COMMON_DATABASE_UTIL_H_
6 #define CONTENT_COMMON_DATABASE_UTIL_H_ 6 #define CONTENT_COMMON_DATABASE_UTIL_H_
7 #pragma once
8 7
9 #include "webkit/glue/webkitplatformsupport_impl.h" 8 #include "webkit/glue/webkitplatformsupport_impl.h"
10 9
11 // A class of utility functions used by RendererWebKitPlatformSupportImpl and 10 // A class of utility functions used by RendererWebKitPlatformSupportImpl and
12 // WorkerWebKitPlatformSupportImpl to handle database file accesses. 11 // WorkerWebKitPlatformSupportImpl to handle database file accesses.
13 class DatabaseUtil { 12 class DatabaseUtil {
14 public: 13 public:
15 static WebKit::WebKitPlatformSupport::FileHandle DatabaseOpenFile( 14 static WebKit::WebKitPlatformSupport::FileHandle DatabaseOpenFile(
16 const WebKit::WebString& vfs_file_name, int desired_flags); 15 const WebKit::WebString& vfs_file_name, int desired_flags);
17 static int DatabaseDeleteFile( 16 static int DatabaseDeleteFile(
18 const WebKit::WebString& vfs_file_name, bool sync_dir); 17 const WebKit::WebString& vfs_file_name, bool sync_dir);
19 static long DatabaseGetFileAttributes( 18 static long DatabaseGetFileAttributes(
20 const WebKit::WebString& vfs_file_name); 19 const WebKit::WebString& vfs_file_name);
21 static long long DatabaseGetFileSize( 20 static long long DatabaseGetFileSize(
22 const WebKit::WebString& vfs_file_name); 21 const WebKit::WebString& vfs_file_name);
23 static long long DatabaseGetSpaceAvailable( 22 static long long DatabaseGetSpaceAvailable(
24 const WebKit::WebString& origin_identifier); 23 const WebKit::WebString& origin_identifier);
25 }; 24 };
26 25
27 #endif // CONTENT_COMMON_DATABASE_UTIL_H_ 26 #endif // CONTENT_COMMON_DATABASE_UTIL_H_
OLDNEW
« no previous file with comments | « content/common/css_colors.h ('k') | content/common/db_message_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698