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

Unified Diff: Source/bindings/dart/DartLibraryMain.cpp

Issue 446733003: Tue Aug 5 16:08:45 PDT 2014 Base URL: svn://svn.chromium.org/blink/branches/dart/dartium
Patch Set: Created 6 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/bindings/dart/DartAsyncLoader.cpp ('k') | Source/bindings/dart/DartNativeExtensions.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/dart/DartLibraryMain.cpp
diff --git a/Source/modules/crypto/AesKeyAlgorithm.idl b/Source/bindings/dart/DartLibraryMain.cpp
similarity index 86%
copy from Source/modules/crypto/AesKeyAlgorithm.idl
copy to Source/bindings/dart/DartLibraryMain.cpp
index 171650d215a502d881c068d2febdf08dde233ae5..e1a73345da4fccf48c166e464d0a6d980a43cf4a 100644
--- a/Source/modules/crypto/AesKeyAlgorithm.idl
+++ b/Source/bindings/dart/DartLibraryMain.cpp
@@ -28,8 +28,12 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-[
- NoInterfaceObject
-] interface AesKeyAlgorithm : KeyAlgorithm {
- readonly attribute unsigned short length;
-};
+#if !defined(DART_SHARED_LIB)
+#error This is only intended to be used when Dart is used as a shared library.
+#endif
+
+// Unused entry point for a shared library containing the Dart VM.
+int main(int argc, char** argv)
+{
+ return 0;
+}
« no previous file with comments | « Source/bindings/dart/DartAsyncLoader.cpp ('k') | Source/bindings/dart/DartNativeExtensions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698