OLD | NEW |
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 <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 int desired_flags) override; | 66 int desired_flags) override; |
67 int databaseDeleteFile(const blink::WebString& vfs_file_name, | 67 int databaseDeleteFile(const blink::WebString& vfs_file_name, |
68 bool sync_dir) override; | 68 bool sync_dir) override; |
69 long databaseGetFileAttributes( | 69 long databaseGetFileAttributes( |
70 const blink::WebString& vfs_file_name) override; | 70 const blink::WebString& vfs_file_name) override; |
71 long long databaseGetFileSize(const blink::WebString& vfs_file_name) override; | 71 long long databaseGetFileSize(const blink::WebString& vfs_file_name) override; |
72 long long databaseGetSpaceAvailableForOrigin( | 72 long long databaseGetSpaceAvailableForOrigin( |
73 const blink::WebSecurityOrigin& origin) override; | 73 const blink::WebSecurityOrigin& origin) override; |
74 bool databaseSetFileSize(const blink::WebString& vfs_file_name, | 74 bool databaseSetFileSize(const blink::WebString& vfs_file_name, |
75 long long size) override; | 75 long long size) override; |
76 blink::WebString signedPublicKeyAndChallengeString( | |
77 unsigned key_size_index, | |
78 const blink::WebString& challenge, | |
79 const blink::WebURL& url, | |
80 const blink::WebURL& top_origin) override; | |
81 size_t actualMemoryUsageMB() override; | 76 size_t actualMemoryUsageMB() override; |
82 size_t numberOfProcessors() override; | 77 size_t numberOfProcessors() override; |
83 | 78 |
84 size_t maxDecodedImageBytes() override; | 79 size_t maxDecodedImageBytes() override; |
85 uint32_t getUniqueIdForProcess() override; | 80 uint32_t getUniqueIdForProcess() override; |
86 blink::WebString userAgent() override; | 81 blink::WebString userAgent() override; |
87 blink::WebURLError cancelledError(const blink::WebURL& url) const override; | 82 blink::WebURLError cancelledError(const blink::WebURL& url) const override; |
88 blink::WebThread* createThread(const char* name) override; | 83 blink::WebThread* createThread(const char* name) override; |
89 blink::WebThread* currentThread() override; | 84 blink::WebThread* currentThread() override; |
90 void recordAction(const blink::UserMetricsAction&) override; | 85 void recordAction(const blink::UserMetricsAction&) override; |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 scoped_refptr<ThreadSafeSender> thread_safe_sender_; | 136 scoped_refptr<ThreadSafeSender> thread_safe_sender_; |
142 scoped_refptr<NotificationDispatcher> notification_dispatcher_; | 137 scoped_refptr<NotificationDispatcher> notification_dispatcher_; |
143 scoped_refptr<PushDispatcher> push_dispatcher_; | 138 scoped_refptr<PushDispatcher> push_dispatcher_; |
144 | 139 |
145 blink::scheduler::WebThreadBase* compositor_thread_; | 140 blink::scheduler::WebThreadBase* compositor_thread_; |
146 }; | 141 }; |
147 | 142 |
148 } // namespace content | 143 } // namespace content |
149 | 144 |
150 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ | 145 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ |
OLD | NEW |