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

Side by Side Diff: third_party/WebKit/public/platform/Platform.h

Issue 1915373002: Implement empty WorkerInternals interface. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@trials-in-service-workers
Patch Set: update expectations 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 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 #include "WebPlatformEventType.h" 48 #include "WebPlatformEventType.h"
49 #include "WebSize.h" 49 #include "WebSize.h"
50 #include "WebSpeechSynthesizer.h" 50 #include "WebSpeechSynthesizer.h"
51 #include "WebStorageQuotaCallbacks.h" 51 #include "WebStorageQuotaCallbacks.h"
52 #include "WebStorageQuotaType.h" 52 #include "WebStorageQuotaType.h"
53 #include "WebString.h" 53 #include "WebString.h"
54 #include "WebURLError.h" 54 #include "WebURLError.h"
55 #include "WebVector.h" 55 #include "WebVector.h"
56 #include "base/metrics/user_metrics_action.h" 56 #include "base/metrics/user_metrics_action.h"
57 57
58 #include <v8/include/v8.h>
jochen (gone - plz use gerrit) 2016/05/06 10:42:09 can you forward declare instead? namespace v8 { t
Marijn Kruisselbrink 2016/05/06 16:14:30 Not unless I also change the method to pass the v8
Marijn Kruisselbrink 2016/05/06 16:20:35 Which actually is probably better (at least not wo
59
58 class GrContext; 60 class GrContext;
59 61
60 namespace blink { 62 namespace blink {
61 63
62 class ServiceRegistry; 64 class ServiceRegistry;
63 class WebAudioBus; 65 class WebAudioBus;
64 class WebBlobRegistry; 66 class WebBlobRegistry;
65 class WebCanvasCaptureHandler; 67 class WebCanvasCaptureHandler;
66 class WebClipboard; 68 class WebClipboard;
67 class WebCompositorSupport; 69 class WebCompositorSupport;
(...skipping 543 matching lines...) Expand 10 before | Expand all | Expand 10 after
611 613
612 614
613 // Background Sync API------------------------------------------------------ ------ 615 // Background Sync API------------------------------------------------------ ------
614 616
615 virtual WebSyncProvider* backgroundSyncProvider() { return nullptr; } 617 virtual WebSyncProvider* backgroundSyncProvider() { return nullptr; }
616 618
617 // Experimental Framework ---------------------------------------------- 619 // Experimental Framework ----------------------------------------------
618 620
619 virtual WebTrialTokenValidator* trialTokenValidator() { return nullptr; } 621 virtual WebTrialTokenValidator* trialTokenValidator() { return nullptr; }
620 622
623 virtual void workerContextCreated(v8::Local<v8::Context> worker) { }
624
621 protected: 625 protected:
622 Platform(); 626 Platform();
623 virtual ~Platform() { } 627 virtual ~Platform() { }
624 628
625 WebThread* m_mainThread; 629 WebThread* m_mainThread;
626 }; 630 };
627 631
628 } // namespace blink 632 } // namespace blink
629 633
630 #endif 634 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698