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

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: Remembering how ASCII works 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 #include "WebStorageQuotaType.h" 53 #include "WebStorageQuotaType.h"
54 #include "WebString.h" 54 #include "WebString.h"
55 #include "WebURLError.h" 55 #include "WebURLError.h"
56 #include "WebVector.h" 56 #include "WebVector.h"
57 57
58 class GrContext; 58 class GrContext;
59 59
60 namespace blink { 60 namespace blink {
61 61
62 class WebAudioBus; 62 class WebAudioBus;
63 class WebSyncProvider;
jkarlin 2015/02/27 20:08:13 not alphabetical. Part of me wonders if this shoul
iclelland 2015/03/02 03:51:12 It's sort of alphabetical now (and yeah, I had it
63 class WebBlobRegistry; 64 class WebBlobRegistry;
64 class WebBluetooth; 65 class WebBluetooth;
65 class WebClipboard; 66 class WebClipboard;
66 class WebCompositorSupport; 67 class WebCompositorSupport;
67 class WebConvertableToTraceFormat; 68 class WebConvertableToTraceFormat;
68 class WebCookieJar; 69 class WebCookieJar;
69 class WebCrypto; 70 class WebCrypto;
70 class WebDatabaseObserver; 71 class WebDatabaseObserver;
71 class WebDiscardableMemory; 72 class WebDiscardableMemory;
72 class WebPlatformEventListener; 73 class WebPlatformEventListener;
(...skipping 574 matching lines...) Expand 10 before | Expand all | Expand 10 after
647 // Bluetooth ---------------------------------------------------------- 648 // Bluetooth ----------------------------------------------------------
648 649
649 // Returns pointer to client owned WebBluetooth implementation. 650 // Returns pointer to client owned WebBluetooth implementation.
650 virtual WebBluetooth* bluetooth() { return 0; } 651 virtual WebBluetooth* bluetooth() { return 0; }
651 652
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
jkarlin 2015/02/27 20:08:13 Add the line back, as is this file's strange custo
iclelland 2015/03/02 03:51:12 Done.
658 // navigator.connect -------------------------------------------------- 658 // navigator.connect --------------------------------------------------
659 659
660 virtual WebNavigatorConnectProvider* navigatorConnectProvider() { return 0; } 660 virtual WebNavigatorConnectProvider* navigatorConnectProvider() { return 0; }
661 661
662 // Background Sync API------------------------------------------------------ ------
663
664 virtual WebSyncProvider* backgroundSyncProvider() { return 0; }
665
662 protected: 666 protected:
663 BLINK_PLATFORM_EXPORT Platform(); 667 BLINK_PLATFORM_EXPORT Platform();
664 virtual ~Platform() { } 668 virtual ~Platform() { }
665 669
666 WebThread* m_mainThread; 670 WebThread* m_mainThread;
667 }; 671 };
668 672
669 } // namespace blink 673 } // namespace blink
670 674
671 #endif 675 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698