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

Side by Side Diff: content/child/blink_platform_impl.h

Issue 1006423008: Add SetFileSize() IPC for WebSQL. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove unnecessary IPC_MESSAGE_HANDLER_DELAY_REPLYs, remove unnecessary scoped_refptrs. Created 5 years, 8 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_CHILD_BLINK_PLATFORM_IMPL_H_ 5 #ifndef CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_
6 #define CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ 6 #define CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/threading/thread_local_storage.h" 9 #include "base/threading/thread_local_storage.h"
10 #include "base/timer/timer.h" 10 #include "base/timer/timer.h"
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 virtual blink::WebFallbackThemeEngine* fallbackThemeEngine(); 54 virtual blink::WebFallbackThemeEngine* fallbackThemeEngine();
55 virtual blink::Platform::FileHandle databaseOpenFile( 55 virtual blink::Platform::FileHandle databaseOpenFile(
56 const blink::WebString& vfs_file_name, int desired_flags); 56 const blink::WebString& vfs_file_name, int desired_flags);
57 virtual int databaseDeleteFile(const blink::WebString& vfs_file_name, 57 virtual int databaseDeleteFile(const blink::WebString& vfs_file_name,
58 bool sync_dir); 58 bool sync_dir);
59 virtual long databaseGetFileAttributes( 59 virtual long databaseGetFileAttributes(
60 const blink::WebString& vfs_file_name); 60 const blink::WebString& vfs_file_name);
61 virtual long long databaseGetFileSize(const blink::WebString& vfs_file_name); 61 virtual long long databaseGetFileSize(const blink::WebString& vfs_file_name);
62 virtual long long databaseGetSpaceAvailableForOrigin( 62 virtual long long databaseGetSpaceAvailableForOrigin(
63 const blink::WebString& origin_identifier); 63 const blink::WebString& origin_identifier);
64 virtual bool databaseSetFileSize(
65 const blink::WebString& vfs_file_name, long long size);
64 virtual blink::WebString signedPublicKeyAndChallengeString( 66 virtual blink::WebString signedPublicKeyAndChallengeString(
65 unsigned key_size_index, const blink::WebString& challenge, 67 unsigned key_size_index, const blink::WebString& challenge,
66 const blink::WebURL& url); 68 const blink::WebURL& url);
67 virtual size_t memoryUsageMB(); 69 virtual size_t memoryUsageMB();
68 virtual size_t actualMemoryUsageMB(); 70 virtual size_t actualMemoryUsageMB();
69 virtual size_t physicalMemoryMB(); 71 virtual size_t physicalMemoryMB();
70 virtual size_t virtualMemoryLimitMB(); 72 virtual size_t virtualMemoryLimitMB();
71 virtual size_t numberOfProcessors(); 73 virtual size_t numberOfProcessors();
72 74
73 virtual bool processMemorySizesInBytes(size_t* private_bytes, 75 virtual bool processMemorySizesInBytes(size_t* private_bytes,
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 199
198 scoped_refptr<ThreadSafeSender> thread_safe_sender_; 200 scoped_refptr<ThreadSafeSender> thread_safe_sender_;
199 scoped_refptr<NotificationDispatcher> notification_dispatcher_; 201 scoped_refptr<NotificationDispatcher> notification_dispatcher_;
200 scoped_refptr<PushDispatcher> push_dispatcher_; 202 scoped_refptr<PushDispatcher> push_dispatcher_;
201 scoped_ptr<PermissionDispatcher> permission_client_; 203 scoped_ptr<PermissionDispatcher> permission_client_;
202 }; 204 };
203 205
204 } // namespace content 206 } // namespace content
205 207
206 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ 208 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/database_message_filter.cc ('k') | content/child/blink_platform_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698