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

Side by Side Diff: components/scheduler/test/lazy_scheduler_message_loop_delegate_for_tests.h

Issue 1551433002: Switch to standard integer types in components/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more Created 4 years, 12 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_TEST_LAZY_SCHEDULER_MESSAGE_LOOP_DELEGATE_FOR_TESTS _H_ 5 #ifndef COMPONENTS_SCHEDULER_TEST_LAZY_SCHEDULER_MESSAGE_LOOP_DELEGATE_FOR_TESTS _H_
6 #define COMPONENTS_SCHEDULER_TEST_LAZY_SCHEDULER_MESSAGE_LOOP_DELEGATE_FOR_TESTS _H_ 6 #define COMPONENTS_SCHEDULER_TEST_LAZY_SCHEDULER_MESSAGE_LOOP_DELEGATE_FOR_TESTS _H_
7 7
8 #include "base/macros.h"
8 #include "base/message_loop/message_loop.h" 9 #include "base/message_loop/message_loop.h"
9 #include "base/time/tick_clock.h" 10 #include "base/time/tick_clock.h"
10 #include "components/scheduler/child/scheduler_tqm_delegate.h" 11 #include "components/scheduler/child/scheduler_tqm_delegate.h"
11 12
12 namespace scheduler { 13 namespace scheduler {
13 14
14 // This class connects the scheduler to a MessageLoop, but unlike 15 // This class connects the scheduler to a MessageLoop, but unlike
15 // SchedulerMessageLoopDelegate it allows the message loop to be created lazily 16 // SchedulerMessageLoopDelegate it allows the message loop to be created lazily
16 // after the scheduler has been brought up. This is needed in testing scenarios 17 // after the scheduler has been brought up. This is needed in testing scenarios
17 // where Blink is initialized before a MessageLoop has been created. 18 // where Blink is initialized before a MessageLoop has been created.
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 mutable scoped_refptr<base::SingleThreadTaskRunner> pending_task_runner_; 53 mutable scoped_refptr<base::SingleThreadTaskRunner> pending_task_runner_;
53 mutable scoped_refptr<base::SingleThreadTaskRunner> original_task_runner_; 54 mutable scoped_refptr<base::SingleThreadTaskRunner> original_task_runner_;
54 scoped_ptr<base::TickClock> time_source_; 55 scoped_ptr<base::TickClock> time_source_;
55 56
56 DISALLOW_COPY_AND_ASSIGN(LazySchedulerMessageLoopDelegateForTests); 57 DISALLOW_COPY_AND_ASSIGN(LazySchedulerMessageLoopDelegateForTests);
57 }; 58 };
58 59
59 } // namespace scheduler 60 } // namespace scheduler
60 61
61 #endif // COMPONENTS_SCHEDULER_TEST_LAZY_SCHEDULER_MESSAGE_LOOP_DELEGATE_FOR_TE STS_H_ 62 #endif // COMPONENTS_SCHEDULER_TEST_LAZY_SCHEDULER_MESSAGE_LOOP_DELEGATE_FOR_TE STS_H_
OLDNEW
« no previous file with comments | « components/scheduler/renderer/webthread_impl_for_renderer_scheduler_unittest.cc ('k') | components/search/search.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698