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

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

Issue 855493002: [DO NOT REVIEW][DO NOT COMMIT] Introduce WebDataProducerHandle. Base URL: https://chromium.googlesource.com/chromium/blink.git@pump-data-out-of-stream
Patch Set: Created 5 years, 11 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
« no previous file with comments | « no previous file | public/platform/WebCreateDataPipeOptions.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 59
60 namespace blink { 60 namespace blink {
61 61
62 class WebAudioBus; 62 class WebAudioBus;
63 class WebBlobRegistry; 63 class WebBlobRegistry;
64 class WebBluetooth; 64 class WebBluetooth;
65 class WebClipboard; 65 class WebClipboard;
66 class WebCompositorSupport; 66 class WebCompositorSupport;
67 class WebConvertableToTraceFormat; 67 class WebConvertableToTraceFormat;
68 class WebCookieJar; 68 class WebCookieJar;
69 class WebCreateDataPipeOptions;
69 class WebCrypto; 70 class WebCrypto;
71 class WebDataConsumerHandle;
72 class WebDataProducerHandle;
70 class WebDatabaseObserver; 73 class WebDatabaseObserver;
71 class WebDiscardableMemory; 74 class WebDiscardableMemory;
72 class WebPlatformEventListener; 75 class WebPlatformEventListener;
73 class WebFallbackThemeEngine; 76 class WebFallbackThemeEngine;
74 class WebFileSystem; 77 class WebFileSystem;
75 class WebFileUtilities; 78 class WebFileUtilities;
76 class WebFlingAnimator; 79 class WebFlingAnimator;
77 class WebGeofencingProvider; 80 class WebGeofencingProvider;
78 class WebGestureCurve; 81 class WebGestureCurve;
79 class WebGraphicsContext3DProvider; 82 class WebGraphicsContext3DProvider;
(...skipping 565 matching lines...) Expand 10 before | Expand all | Expand 10 after
645 648
646 // Push API------------------------------------------------------------ 649 // Push API------------------------------------------------------------
647 650
648 virtual WebPushProvider* pushProvider() { return 0; } 651 virtual WebPushProvider* pushProvider() { return 0; }
649 652
650 653
651 // navigator.connect -------------------------------------------------- 654 // navigator.connect --------------------------------------------------
652 655
653 virtual WebNavigatorConnectProvider* navigatorConnectProvider() { return 0; } 656 virtual WebNavigatorConnectProvider* navigatorConnectProvider() { return 0; }
654 657
658 // |options| can be null. The default option is used in such a case.
659 // Creates a producer handle and a consumer handle, and stores them into
660 // the output parameters. Returns true when the operation succeeds.
661 virtual bool createDataPipe(const WebCreateDataPipeOptions* /* options */, W ebDataProducerHandle**, WebDataConsumerHandle**) { return false; }
662
655 protected: 663 protected:
656 virtual ~Platform() { } 664 virtual ~Platform() { }
657 }; 665 };
658 666
659 } // namespace blink 667 } // namespace blink
660 668
661 #endif 669 #endif
OLDNEW
« no previous file with comments | « no previous file | public/platform/WebCreateDataPipeOptions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698