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

Side by Side Diff: content/common/synthetic_delay_configuration.h

Issue 83483007: Expose synthetic delays through the GPU benchmarking extension (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Forward delays in RenderWidgetHostImpl properly. Created 7 years 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
OLDNEW
(Empty)
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_COMMON_SYNTHETIC_DELAY_CONFIGURATION_H_
6 #define CONTENT_COMMON_SYNTHETIC_DELAY_CONFIGURATION_H_
7
8 #include <string>
9
10 #include "base/time/time.h"
11 #include "content/common/content_export.h"
12
13 namespace content {
14
15 struct CONTENT_EXPORT SyntheticDelayConfiguration {
16 SyntheticDelayConfiguration();
17 ~SyntheticDelayConfiguration();
18
19 // Duplicated from base::debug::TraceEventSyntheticDelay since the same enum
20 // cannot be used in two different IPC message sets.
21 enum Mode {
22 STATIC,
23 ONE_SHOT,
24 ALTERNATING
25 };
26
27 std::string name;
28 base::TimeDelta target_duration;
29 Mode mode;
30 };
31
32 } // namespace content
33
34 #endif // CONTENT_COMMON_SYNTHETIC_DELAY_CONFIGURATION_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_impl.cc ('k') | content/common/synthetic_delay_configuration.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698