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

Side by Side Diff: content/renderer/renderer_blink_platform_impl.h

Issue 1915373002: Implement empty WorkerInternals interface. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@trials-in-service-workers
Patch Set: forward declare v8 types and pass by const-ref Created 4 years, 7 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_
6 #define CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_ 6 #define CONTENT_RENDERER_RENDERER_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 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 blink::WebStorageQuotaCallbacks) override; 190 blink::WebStorageQuotaCallbacks) override;
191 void vibrate(unsigned int milliseconds) override; 191 void vibrate(unsigned int milliseconds) override;
192 void cancelVibration() override; 192 void cancelVibration() override;
193 blink::WebThread* currentThread() override; 193 blink::WebThread* currentThread() override;
194 blink::BlameContext* topLevelBlameContext() override; 194 blink::BlameContext* topLevelBlameContext() override;
195 void recordRappor(const char* metric, 195 void recordRappor(const char* metric,
196 const blink::WebString& sample) override; 196 const blink::WebString& sample) override;
197 void recordRapporURL(const char* metric, const blink::WebURL& url) override; 197 void recordRapporURL(const char* metric, const blink::WebURL& url) override;
198 198
199 blink::WebTrialTokenValidator* trialTokenValidator() override; 199 blink::WebTrialTokenValidator* trialTokenValidator() override;
200 void workerContextCreated(const v8::Local<v8::Context>& worker) override;
200 201
201 // Set the PlatformEventObserverBase in |platform_event_observers_| associated 202 // Set the PlatformEventObserverBase in |platform_event_observers_| associated
202 // with |type| to |observer|. If there was already an observer associated to 203 // with |type| to |observer|. If there was already an observer associated to
203 // the given |type|, it will be replaced. 204 // the given |type|, it will be replaced.
204 // Note that |observer| will be owned by this object after the call. 205 // Note that |observer| will be owned by this object after the call.
205 void SetPlatformEventObserverForTesting( 206 void SetPlatformEventObserverForTesting(
206 blink::WebPlatformEventType type, 207 blink::WebPlatformEventType type,
207 std::unique_ptr<PlatformEventObserverBase> observer); 208 std::unique_ptr<PlatformEventObserverBase> observer);
208 209
209 // Disables the WebSandboxSupport implementation for testing. 210 // Disables the WebSandboxSupport implementation for testing.
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
304 std::unique_ptr<LocalStorageCachedAreas> local_storage_cached_areas_; 305 std::unique_ptr<LocalStorageCachedAreas> local_storage_cached_areas_;
305 306
306 std::unique_ptr<BlinkServiceRegistryImpl> blink_service_registry_; 307 std::unique_ptr<BlinkServiceRegistryImpl> blink_service_registry_;
307 308
308 DISALLOW_COPY_AND_ASSIGN(RendererBlinkPlatformImpl); 309 DISALLOW_COPY_AND_ASSIGN(RendererBlinkPlatformImpl);
309 }; 310 };
310 311
311 } // namespace content 312 } // namespace content
312 313
313 #endif // CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_ 314 #endif // CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698