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

Side by Side Diff: sky/engine/testing/platform/platform_impl.h

Issue 691483005: Remove Platform::cryptographicallyRandomValues (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 | « sky/engine/public/platform/Platform.h ('k') | sky/engine/testing/platform/platform_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef SKY_ENGINE_TESTING_PLATFORM_PLATFORM_IMPL_H_ 5 #ifndef SKY_ENGINE_TESTING_PLATFORM_PLATFORM_IMPL_H_
6 #define SKY_ENGINE_TESTING_PLATFORM_PLATFORM_IMPL_H_ 6 #define SKY_ENGINE_TESTING_PLATFORM_PLATFORM_IMPL_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "base/message_loop/message_loop.h" 9 #include "base/message_loop/message_loop.h"
10 #include "base/threading/thread_local_storage.h" 10 #include "base/threading/thread_local_storage.h"
(...skipping 11 matching lines...) Expand all
22 explicit PlatformImpl(); 22 explicit PlatformImpl();
23 virtual ~PlatformImpl(); 23 virtual ~PlatformImpl();
24 24
25 // blink::Platform methods: 25 // blink::Platform methods:
26 virtual blink::WebUnitTestSupport* unitTestSupport(); 26 virtual blink::WebUnitTestSupport* unitTestSupport();
27 virtual blink::WebMimeRegistry* mimeRegistry(); 27 virtual blink::WebMimeRegistry* mimeRegistry();
28 virtual blink::WebThemeEngine* themeEngine(); 28 virtual blink::WebThemeEngine* themeEngine();
29 virtual blink::WebString defaultLocale(); 29 virtual blink::WebString defaultLocale();
30 virtual double currentTime(); 30 virtual double currentTime();
31 virtual double monotonicallyIncreasingTime(); 31 virtual double monotonicallyIncreasingTime();
32 virtual void cryptographicallyRandomValues(
33 unsigned char* buffer, size_t length);
34 virtual void setSharedTimerFiredFunction(void (*func)()); 32 virtual void setSharedTimerFiredFunction(void (*func)());
35 virtual void setSharedTimerFireInterval(double interval_seconds); 33 virtual void setSharedTimerFireInterval(double interval_seconds);
36 virtual void stopSharedTimer(); 34 virtual void stopSharedTimer();
37 virtual void callOnMainThread(void (*func)(void*), void* context); 35 virtual void callOnMainThread(void (*func)(void*), void* context);
38 virtual blink::WebData parseDataURL( 36 virtual blink::WebData parseDataURL(
39 const blink::WebURL& url, blink::WebString& mime_type, 37 const blink::WebURL& url, blink::WebString& mime_type,
40 blink::WebString& charset); 38 blink::WebString& charset);
41 virtual blink::WebScrollbarBehavior* scrollbarBehavior(); 39 virtual blink::WebScrollbarBehavior* scrollbarBehavior();
42 virtual const unsigned char* getTraceCategoryEnabledFlag( 40 virtual const unsigned char* getTraceCategoryEnabledFlag(
43 const char* category_name); 41 const char* category_name);
(...skipping 17 matching lines...) Expand all
61 WebMimeRegistryImpl mime_registry_; 59 WebMimeRegistryImpl mime_registry_;
62 WebUnitTestSupportImpl unit_test_support_; 60 WebUnitTestSupportImpl unit_test_support_;
63 blink::WebScrollbarBehavior scrollbar_behavior_; 61 blink::WebScrollbarBehavior scrollbar_behavior_;
64 62
65 DISALLOW_COPY_AND_ASSIGN(PlatformImpl); 63 DISALLOW_COPY_AND_ASSIGN(PlatformImpl);
66 }; 64 };
67 65
68 } // namespace sky 66 } // namespace sky
69 67
70 #endif // SKY_ENGINE_TESTING_PLATFORM_PLATFORM_IMPL_H_ 68 #endif // SKY_ENGINE_TESTING_PLATFORM_PLATFORM_IMPL_H_
OLDNEW
« no previous file with comments | « sky/engine/public/platform/Platform.h ('k') | sky/engine/testing/platform/platform_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698