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

Side by Side Diff: cc/scheduler/delay_based_time_source.h

Issue 869043008: Reland of Move tracing namespace from base::debug to base::trace_event. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkcr
Patch Set: Fix suppressions 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 | « cc/resources/zero_copy_tile_task_worker_pool.h ('k') | cc/scheduler/scheduler.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 // Copyright 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 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 CC_SCHEDULER_DELAY_BASED_TIME_SOURCE_H_ 5 #ifndef CC_SCHEDULER_DELAY_BASED_TIME_SOURCE_H_
6 #define CC_SCHEDULER_DELAY_BASED_TIME_SOURCE_H_ 6 #define CC_SCHEDULER_DELAY_BASED_TIME_SOURCE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
11 #include "base/values.h" 11 #include "base/values.h"
12 #include "cc/base/cc_export.h" 12 #include "cc/base/cc_export.h"
13 13
14 namespace base { 14 namespace base {
15 namespace debug { 15 namespace trace_event {
16 class TracedValue; 16 class TracedValue;
17 } 17 }
18
19 // TODO(ssid): remove these aliases after the tracing clients are moved to the
20 // new trace_event namespace. See crbug.com/451032. ETA: March 2015
21 namespace debug {
22 using ::base::trace_event::TracedValue;
23 }
18 class SingleThreadTaskRunner; 24 class SingleThreadTaskRunner;
19 } 25 } // namespace base
20 26
21 namespace cc { 27 namespace cc {
22 28
23 class CC_EXPORT TimeSourceClient { 29 class CC_EXPORT TimeSourceClient {
24 public: 30 public:
25 virtual void OnTimerTick() = 0; 31 virtual void OnTimerTick() = 0;
26 32
27 protected: 33 protected:
28 virtual ~TimeSourceClient() {} 34 virtual ~TimeSourceClient() {}
29 }; 35 };
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 118
113 std::string TypeString() const override; 119 std::string TypeString() const override;
114 120
115 private: 121 private:
116 DISALLOW_COPY_AND_ASSIGN(DelayBasedTimeSourceHighRes); 122 DISALLOW_COPY_AND_ASSIGN(DelayBasedTimeSourceHighRes);
117 }; 123 };
118 124
119 } // namespace cc 125 } // namespace cc
120 126
121 #endif // CC_SCHEDULER_DELAY_BASED_TIME_SOURCE_H_ 127 #endif // CC_SCHEDULER_DELAY_BASED_TIME_SOURCE_H_
OLDNEW
« no previous file with comments | « cc/resources/zero_copy_tile_task_worker_pool.h ('k') | cc/scheduler/scheduler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698