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

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

Issue 882673002: Move tracing namespace from base::debug to base::trace_event. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move_trace_part1
Patch Set: Created 5 years, 11 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
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 trace_event {
16 class TracedValue;
17 }
15 namespace debug { 18 namespace debug {
16 class TracedValue; 19 using ::base::trace_event::TracedValue;
17 } 20 }
Primiano Tucci (use gerrit) 2015/01/27 14:34:11 nit: blankline
18 class SingleThreadTaskRunner; 21 class SingleThreadTaskRunner;
19 } 22 }
20 23
21 namespace cc { 24 namespace cc {
22 25
23 class CC_EXPORT TimeSourceClient { 26 class CC_EXPORT TimeSourceClient {
24 public: 27 public:
25 virtual void OnTimerTick() = 0; 28 virtual void OnTimerTick() = 0;
26 29
27 protected: 30 protected:
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 115
113 std::string TypeString() const override; 116 std::string TypeString() const override;
114 117
115 private: 118 private:
116 DISALLOW_COPY_AND_ASSIGN(DelayBasedTimeSourceHighRes); 119 DISALLOW_COPY_AND_ASSIGN(DelayBasedTimeSourceHighRes);
117 }; 120 };
118 121
119 } // namespace cc 122 } // namespace cc
120 123
121 #endif // CC_SCHEDULER_DELAY_BASED_TIME_SOURCE_H_ 124 #endif // CC_SCHEDULER_DELAY_BASED_TIME_SOURCE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698