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

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

Issue 963683002: Add IDL and initial Blink API for Background Sync (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Addressing first round style issues Created 5 years, 9 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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 class WebRTCPeerConnectionHandler; 93 class WebRTCPeerConnectionHandler;
94 class WebRTCPeerConnectionHandlerClient; 94 class WebRTCPeerConnectionHandlerClient;
95 class WebSandboxSupport; 95 class WebSandboxSupport;
96 class WebScheduler; 96 class WebScheduler;
97 class WebSecurityOrigin; 97 class WebSecurityOrigin;
98 class WebScrollbarBehavior; 98 class WebScrollbarBehavior;
99 class WebSocketHandle; 99 class WebSocketHandle;
100 class WebSpeechSynthesizer; 100 class WebSpeechSynthesizer;
101 class WebSpeechSynthesizerClient; 101 class WebSpeechSynthesizerClient;
102 class WebStorageNamespace; 102 class WebStorageNamespace;
103 class WebSyncProvider;
103 struct WebFloatPoint; 104 struct WebFloatPoint;
104 class WebThemeEngine; 105 class WebThemeEngine;
105 class WebThread; 106 class WebThread;
106 class WebURL; 107 class WebURL;
107 class WebURLLoader; 108 class WebURLLoader;
108 class WebUnitTestSupport; 109 class WebUnitTestSupport;
109 class WebWaitableEvent; 110 class WebWaitableEvent;
110 struct WebLocalizedString; 111 struct WebLocalizedString;
111 struct WebSize; 112 struct WebSize;
112 113
(...skipping 539 matching lines...) Expand 10 before | Expand all | Expand 10 after
652 653
653 // Push API------------------------------------------------------------ 654 // Push API------------------------------------------------------------
654 655
655 virtual WebPushProvider* pushProvider() { return 0; } 656 virtual WebPushProvider* pushProvider() { return 0; }
656 657
657 658
658 // navigator.connect -------------------------------------------------- 659 // navigator.connect --------------------------------------------------
659 660
660 virtual WebNavigatorConnectProvider* navigatorConnectProvider() { return 0; } 661 virtual WebNavigatorConnectProvider* navigatorConnectProvider() { return 0; }
661 662
663
664 // Background Sync API------------------------------------------------------ ------
665
666 virtual WebSyncProvider* backgroundSyncProvider() { return 0; }
667
662 protected: 668 protected:
663 BLINK_PLATFORM_EXPORT Platform(); 669 BLINK_PLATFORM_EXPORT Platform();
664 virtual ~Platform() { } 670 virtual ~Platform() { }
665 671
666 WebThread* m_mainThread; 672 WebThread* m_mainThread;
667 }; 673 };
668 674
669 } // namespace blink 675 } // namespace blink
670 676
671 #endif 677 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698