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

Side by Side Diff: components/scheduler/child/webthread_base.h

Issue 2137013002: Make WebTraceLocation be an alias of tracked_objects::Location (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 5 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 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 COMPONENTS_SCHEDULER_CHILD_WEBTHREAD_BASE_H_ 5 #ifndef COMPONENTS_SCHEDULER_CHILD_WEBTHREAD_BASE_H_
6 #define COMPONENTS_SCHEDULER_CHILD_WEBTHREAD_BASE_H_ 6 #define COMPONENTS_SCHEDULER_CHILD_WEBTHREAD_BASE_H_
7 7
8 #include <map> 8 #include <map>
9 #include <memory> 9 #include <memory>
10 10
11 #include "base/threading/thread.h" 11 #include "base/threading/thread.h"
12 #include "components/scheduler/scheduler_export.h" 12 #include "components/scheduler/scheduler_export.h"
13 #include "third_party/WebKit/public/platform/WebThread.h" 13 #include "third_party/WebKit/public/platform/WebThread.h"
14 14 #include "third_party/WebKit/public/platform/WebTraceLocation.h"
15 namespace blink {
16 class WebTraceLocation;
17 }
18 15
19 namespace scheduler { 16 namespace scheduler {
20 class SingleThreadIdleTaskRunner; 17 class SingleThreadIdleTaskRunner;
21 18
22 class SCHEDULER_EXPORT WebThreadBase : public blink::WebThread { 19 class SCHEDULER_EXPORT WebThreadBase : public blink::WebThread {
23 public: 20 public:
24 ~WebThreadBase() override; 21 ~WebThreadBase() override;
25 22
26 // blink::WebThread implementation. 23 // blink::WebThread implementation.
27 bool isCurrentThread() const override; 24 bool isCurrentThread() const override;
(...skipping 30 matching lines...) Expand all
58 base::TimeTicks deadline); 55 base::TimeTicks deadline);
59 56
60 private: 57 private:
61 typedef std::map<TaskObserver*, TaskObserverAdapter*> TaskObserverMap; 58 typedef std::map<TaskObserver*, TaskObserverAdapter*> TaskObserverMap;
62 TaskObserverMap task_observer_map_; 59 TaskObserverMap task_observer_map_;
63 }; 60 };
64 61
65 } // namespace scheduler 62 } // namespace scheduler
66 63
67 #endif // COMPONENTS_SCHEDULER_CHILD_WEBTHREAD_BASE_H_ 64 #endif // COMPONENTS_SCHEDULER_CHILD_WEBTHREAD_BASE_H_
OLDNEW
« no previous file with comments | « components/scheduler/child/web_task_runner_impl.cc ('k') | components/scheduler/child/webthread_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698