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

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

Issue 2460723003: Enable connection to Mojo services from Blink (Closed)
Patch Set: Rebase Created 3 years, 12 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
« no previous file with comments | « content/child/BUILD.gn ('k') | content/child/blink_platform_impl.cc » ('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 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 size_t actualMemoryUsageMB() override; 76 size_t actualMemoryUsageMB() override;
77 size_t numberOfProcessors() override; 77 size_t numberOfProcessors() override;
78 78
79 void bindServiceConnector(
80 mojo::ScopedMessagePipeHandle remote_handle) override;
81
79 size_t maxDecodedImageBytes() override; 82 size_t maxDecodedImageBytes() override;
80 uint32_t getUniqueIdForProcess() override; 83 uint32_t getUniqueIdForProcess() override;
81 blink::WebString userAgent() override; 84 blink::WebString userAgent() override;
82 blink::WebURLError cancelledError(const blink::WebURL& url) const override; 85 blink::WebURLError cancelledError(const blink::WebURL& url) const override;
83 blink::WebThread* createThread(const char* name) override; 86 blink::WebThread* createThread(const char* name) override;
84 blink::WebThread* currentThread() override; 87 blink::WebThread* currentThread() override;
85 void recordAction(const blink::UserMetricsAction&) override; 88 void recordAction(const blink::UserMetricsAction&) override;
86 89
87 blink::WebData loadResource(const char* name) override; 90 blink::WebData loadResource(const char* name) override;
88 blink::WebString queryLocalizedString( 91 blink::WebString queryLocalizedString(
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 scoped_refptr<ThreadSafeSender> thread_safe_sender_; 139 scoped_refptr<ThreadSafeSender> thread_safe_sender_;
137 scoped_refptr<NotificationDispatcher> notification_dispatcher_; 140 scoped_refptr<NotificationDispatcher> notification_dispatcher_;
138 scoped_refptr<PushDispatcher> push_dispatcher_; 141 scoped_refptr<PushDispatcher> push_dispatcher_;
139 142
140 blink::scheduler::WebThreadBase* compositor_thread_; 143 blink::scheduler::WebThreadBase* compositor_thread_;
141 }; 144 };
142 145
143 } // namespace content 146 } // namespace content
144 147
145 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ 148 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_
OLDNEW
« no previous file with comments | « content/child/BUILD.gn ('k') | content/child/blink_platform_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698