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

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

Issue 23798002: Cleanup: Make Platform::crypto() required. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 3 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 | « Source/modules/crypto/SubtleCrypto.cpp ('k') | no next file » | 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 529 matching lines...) Expand 10 before | Expand all | Expand 10 after
540 540
541 541
542 // WebWorker ---------------------------------------------------------- 542 // WebWorker ----------------------------------------------------------
543 543
544 virtual void didStartWorkerRunLoop(const WebWorkerRunLoop&) { } 544 virtual void didStartWorkerRunLoop(const WebWorkerRunLoop&) { }
545 virtual void didStopWorkerRunLoop(const WebWorkerRunLoop&) { } 545 virtual void didStopWorkerRunLoop(const WebWorkerRunLoop&) { }
546 546
547 547
548 // WebCrypto ---------------------------------------------------------- 548 // WebCrypto ----------------------------------------------------------
549 549
550 // May return 0.
551 virtual WebCrypto* crypto() { return 0; } 550 virtual WebCrypto* crypto() { return 0; }
552 551
553 552
554 // Device Motion / Orientation ---------------------------------------- 553 // Device Motion / Orientation ----------------------------------------
555 554
556 // Sets a Listener to listen for device motion data updates. 555 // Sets a Listener to listen for device motion data updates.
557 // If null, the platform stops providing device motion data to the current l istener. 556 // If null, the platform stops providing device motion data to the current l istener.
558 virtual void setDeviceMotionListener(WebKit::WebDeviceMotionListener*) { } 557 virtual void setDeviceMotionListener(WebKit::WebDeviceMotionListener*) { }
559 558
560 // Sets a Listener to listen for device orientation data updates. 559 // Sets a Listener to listen for device orientation data updates.
(...skipping 15 matching lines...) Expand all
576 WebStorageQuotaType, 575 WebStorageQuotaType,
577 WebStorageQuotaCallbacks*) { } 576 WebStorageQuotaCallbacks*) { }
578 577
579 protected: 578 protected:
580 virtual ~Platform() { } 579 virtual ~Platform() { }
581 }; 580 };
582 581
583 } // namespace WebKit 582 } // namespace WebKit
584 583
585 #endif 584 #endif
OLDNEW
« no previous file with comments | « Source/modules/crypto/SubtleCrypto.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698