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

Side by Side Diff: Source/heap/ThreadState.h

Issue 179353002: [webcrypto] Add the KeyAlgorithm interface. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase yet again (another conflict) Created 6 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 | Annotate | Revision Log
« no previous file with comments | « LayoutTests/crypto/sign-verify-expected.txt ('k') | Source/modules/crypto/AesKeyAlgorithm.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) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 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 529 matching lines...) Expand 10 before | Expand all | Expand 10 after
540 } 540 }
541 }; 541 };
542 542
543 template<> class ThreadStateFor<AnyThread> { 543 template<> class ThreadStateFor<AnyThread> {
544 public: 544 public:
545 static ThreadState* state() { return ThreadState::current(); } 545 static ThreadState* state() { return ThreadState::current(); }
546 }; 546 };
547 547
548 // FIXME: Experiment if the threading affinity really matters for performance. 548 // FIXME: Experiment if the threading affinity really matters for performance.
549 // FIXME: Move these macros and other related structures to a separate file. 549 // FIXME: Move these macros and other related structures to a separate file.
550 USED_FROM_MULTIPLE_THREADS(Algorithm);
551 USED_FROM_MULTIPLE_THREADS(Crypto); 550 USED_FROM_MULTIPLE_THREADS(Crypto);
552 USED_FROM_MULTIPLE_THREADS(DOMParser); 551 USED_FROM_MULTIPLE_THREADS(DOMParser);
553 USED_FROM_MULTIPLE_THREADS(DOMURL); 552 USED_FROM_MULTIPLE_THREADS(DOMURL);
554 USED_FROM_MULTIPLE_THREADS(DeprecatedStorageQuota); 553 USED_FROM_MULTIPLE_THREADS(DeprecatedStorageQuota);
555 USED_FROM_MULTIPLE_THREADS(Event); 554 USED_FROM_MULTIPLE_THREADS(Event);
556 USED_FROM_MULTIPLE_THREADS(EventSource); 555 USED_FROM_MULTIPLE_THREADS(EventSource);
557 USED_FROM_MULTIPLE_THREADS(EventTarget); 556 USED_FROM_MULTIPLE_THREADS(EventTarget);
558 USED_FROM_MULTIPLE_THREADS(Key); 557 USED_FROM_MULTIPLE_THREADS(Key);
558 USED_FROM_MULTIPLE_THREADS(KeyAlgorithm);
559 USED_FROM_MULTIPLE_THREADS(KeyPair); 559 USED_FROM_MULTIPLE_THREADS(KeyPair);
560 USED_FROM_MULTIPLE_THREADS(MemoryInfo); 560 USED_FROM_MULTIPLE_THREADS(MemoryInfo);
561 USED_FROM_MULTIPLE_THREADS(MessageEvent); 561 USED_FROM_MULTIPLE_THREADS(MessageEvent);
562 USED_FROM_MULTIPLE_THREADS(Notification); 562 USED_FROM_MULTIPLE_THREADS(Notification);
563 USED_FROM_MULTIPLE_THREADS(NotificationCenter); 563 USED_FROM_MULTIPLE_THREADS(NotificationCenter);
564 USED_FROM_MULTIPLE_THREADS(Performance); 564 USED_FROM_MULTIPLE_THREADS(Performance);
565 USED_FROM_MULTIPLE_THREADS(PerformanceEntry); 565 USED_FROM_MULTIPLE_THREADS(PerformanceEntry);
566 USED_FROM_MULTIPLE_THREADS(PerformanceMark); 566 USED_FROM_MULTIPLE_THREADS(PerformanceMark);
567 USED_FROM_MULTIPLE_THREADS(PerformanceNavigation); 567 USED_FROM_MULTIPLE_THREADS(PerformanceNavigation);
568 USED_FROM_MULTIPLE_THREADS(PerformanceResourceTiming); 568 USED_FROM_MULTIPLE_THREADS(PerformanceResourceTiming);
569 USED_FROM_MULTIPLE_THREADS(PerformanceTiming); 569 USED_FROM_MULTIPLE_THREADS(PerformanceTiming);
570 USED_FROM_MULTIPLE_THREADS(SubtleCrypto); 570 USED_FROM_MULTIPLE_THREADS(SubtleCrypto);
571 USED_FROM_MULTIPLE_THREADS(TextDecoder); 571 USED_FROM_MULTIPLE_THREADS(TextDecoder);
572 USED_FROM_MULTIPLE_THREADS(TextEncoder); 572 USED_FROM_MULTIPLE_THREADS(TextEncoder);
573 USED_FROM_MULTIPLE_THREADS(UserTiming); 573 USED_FROM_MULTIPLE_THREADS(UserTiming);
574 USED_FROM_MULTIPLE_THREADS(WebKitNotification); 574 USED_FROM_MULTIPLE_THREADS(WebKitNotification);
575 USED_FROM_MULTIPLE_THREADS(WorkerCrypto); 575 USED_FROM_MULTIPLE_THREADS(WorkerCrypto);
576 USED_FROM_MULTIPLE_THREADS(WorkerPerformance); 576 USED_FROM_MULTIPLE_THREADS(WorkerPerformance);
577 USED_FROM_MULTIPLE_THREADS(XMLHttpRequest); 577 USED_FROM_MULTIPLE_THREADS(XMLHttpRequest);
578 USED_FROM_MULTIPLE_THREADS(XMLSerializer); 578 USED_FROM_MULTIPLE_THREADS(XMLSerializer);
579 USED_FROM_MULTIPLE_THREADS(XPathEvaluator); 579 USED_FROM_MULTIPLE_THREADS(XPathEvaluator);
580 USED_FROM_MULTIPLE_THREADS(XPathExpression); 580 USED_FROM_MULTIPLE_THREADS(XPathExpression);
581 USED_FROM_MULTIPLE_THREADS(XPathNSResolver); 581 USED_FROM_MULTIPLE_THREADS(XPathNSResolver);
582 USED_FROM_MULTIPLE_THREADS(XPathResult); 582 USED_FROM_MULTIPLE_THREADS(XPathResult);
583 USED_FROM_MULTIPLE_THREADS(XSLTProcessor); 583 USED_FROM_MULTIPLE_THREADS(XSLTProcessor);
584 584
585 } 585 }
586 586
587 #endif // ThreadState_h 587 #endif // ThreadState_h
OLDNEW
« no previous file with comments | « LayoutTests/crypto/sign-verify-expected.txt ('k') | Source/modules/crypto/AesKeyAlgorithm.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698