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

Side by Side Diff: sky/viewer/platform/platform_impl.h

Issue 893503002: Remove unused trace sampling states (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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 | « sky/engine/public/platform/Platform.h ('k') | sky/viewer/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_VIEWER_PLATFORM_PLATFORM_IMPL_H_ 5 #ifndef SKY_VIEWER_PLATFORM_PLATFORM_IMPL_H_
6 #define SKY_VIEWER_PLATFORM_PLATFORM_IMPL_H_ 6 #define SKY_VIEWER_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 16 matching lines...) Expand all
27 virtual blink::WebString defaultLocale(); 27 virtual blink::WebString defaultLocale();
28 virtual void setSharedTimerFiredFunction(void (*func)()); 28 virtual void setSharedTimerFiredFunction(void (*func)());
29 virtual void setSharedTimerFireInterval(double interval_seconds); 29 virtual void setSharedTimerFireInterval(double interval_seconds);
30 virtual void stopSharedTimer(); 30 virtual void stopSharedTimer();
31 virtual base::SingleThreadTaskRunner* mainThreadTaskRunner(); 31 virtual base::SingleThreadTaskRunner* mainThreadTaskRunner();
32 virtual mojo::NetworkService* networkService(); 32 virtual mojo::NetworkService* networkService();
33 virtual blink::WebURLLoader* createURLLoader(); 33 virtual blink::WebURLLoader* createURLLoader();
34 virtual blink::WebURLError cancelledError(const blink::WebURL& url) const; 34 virtual blink::WebURLError cancelledError(const blink::WebURL& url) const;
35 virtual const unsigned char* getTraceCategoryEnabledFlag( 35 virtual const unsigned char* getTraceCategoryEnabledFlag(
36 const char* category_name); 36 const char* category_name);
37 virtual long* getTraceSamplingState(const unsigned thread_bucket);
38 virtual TraceEventHandle addTraceEvent( 37 virtual TraceEventHandle addTraceEvent(
39 char phase, 38 char phase,
40 const unsigned char* category_group_enabled, 39 const unsigned char* category_group_enabled,
41 const char* name, 40 const char* name,
42 unsigned long long id, 41 unsigned long long id,
43 int num_args, 42 int num_args,
44 const char** arg_names, 43 const char** arg_names,
45 const unsigned char* arg_types, 44 const unsigned char* arg_types,
46 const unsigned long long* arg_values, 45 const unsigned long long* arg_values,
47 unsigned char flags); 46 unsigned char flags);
(...skipping 30 matching lines...) Expand all
78 double shared_timer_fire_time_; 77 double shared_timer_fire_time_;
79 bool shared_timer_fire_time_was_set_while_suspended_; 78 bool shared_timer_fire_time_was_set_while_suspended_;
80 int shared_timer_suspended_; // counter 79 int shared_timer_suspended_; // counter
81 80
82 DISALLOW_COPY_AND_ASSIGN(PlatformImpl); 81 DISALLOW_COPY_AND_ASSIGN(PlatformImpl);
83 }; 82 };
84 83
85 } // namespace sky 84 } // namespace sky
86 85
87 #endif // SKY_VIEWER_PLATFORM_PLATFORM_IMPL_H_ 86 #endif // SKY_VIEWER_PLATFORM_PLATFORM_IMPL_H_
OLDNEW
« no previous file with comments | « sky/engine/public/platform/Platform.h ('k') | sky/viewer/platform/platform_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698