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

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

Issue 2460723003: Enable connection to Mojo services from Blink (Closed)
Patch Set: Self-review Created 4 years 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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
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( 76 blink::WebString signedPublicKeyAndChallengeString(
77 unsigned key_size_index, 77 unsigned key_size_index,
78 const blink::WebString& challenge, 78 const blink::WebString& challenge,
79 const blink::WebURL& url, 79 const blink::WebURL& url,
80 const blink::WebURL& top_origin) override; 80 const blink::WebURL& top_origin) override;
81 size_t actualMemoryUsageMB() override; 81 size_t actualMemoryUsageMB() override;
82 size_t numberOfProcessors() override; 82 size_t numberOfProcessors() override;
83 83
84 service_manager::mojom::blink::ConnectorPtr serviceConnector() override;
85
84 size_t maxDecodedImageBytes() override; 86 size_t maxDecodedImageBytes() override;
85 uint32_t getUniqueIdForProcess() override; 87 uint32_t getUniqueIdForProcess() override;
86 blink::WebString userAgent() override; 88 blink::WebString userAgent() override;
87 blink::WebURLError cancelledError(const blink::WebURL& url) const override; 89 blink::WebURLError cancelledError(const blink::WebURL& url) const override;
88 blink::WebThread* createThread(const char* name) override; 90 blink::WebThread* createThread(const char* name) override;
89 blink::WebThread* currentThread() override; 91 blink::WebThread* currentThread() override;
90 void recordAction(const blink::UserMetricsAction&) override; 92 void recordAction(const blink::UserMetricsAction&) override;
91 93
92 blink::WebData loadResource(const char* name) override; 94 blink::WebData loadResource(const char* name) override;
93 blink::WebString queryLocalizedString( 95 blink::WebString queryLocalizedString(
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 scoped_refptr<ThreadSafeSender> thread_safe_sender_; 143 scoped_refptr<ThreadSafeSender> thread_safe_sender_;
142 scoped_refptr<NotificationDispatcher> notification_dispatcher_; 144 scoped_refptr<NotificationDispatcher> notification_dispatcher_;
143 scoped_refptr<PushDispatcher> push_dispatcher_; 145 scoped_refptr<PushDispatcher> push_dispatcher_;
144 146
145 blink::scheduler::WebThreadBase* compositor_thread_; 147 blink::scheduler::WebThreadBase* compositor_thread_;
146 }; 148 };
147 149
148 } // namespace content 150 } // namespace content
149 151
150 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ 152 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698