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

Side by Side Diff: components/scheduler/base/task_queue_impl.cc

Issue 1374653003: scheduler: Add a base directory (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed gn clobber build. Created 5 years, 2 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 #include "components/scheduler/child/task_queue_impl.h" 5 #include "components/scheduler/base/task_queue_impl.h"
6 6
7 #include "components/scheduler/child/task_queue_manager.h" 7 #include "components/scheduler/base/task_queue_manager.h"
8 8
9 namespace scheduler { 9 namespace scheduler {
10 namespace internal { 10 namespace internal {
11 11
12 TaskQueueImpl::TaskQueueImpl( 12 TaskQueueImpl::TaskQueueImpl(
13 TaskQueueManager* task_queue_manager, 13 TaskQueueManager* task_queue_manager,
14 const Spec& spec, 14 const Spec& spec,
15 const char* disabled_by_default_tracing_category, 15 const char* disabled_by_default_tracing_category,
16 const char* disabled_by_default_verbose_tracing_category) 16 const char* disabled_by_default_verbose_tracing_category)
17 : thread_id_(base::PlatformThread::CurrentId()), 17 : thread_id_(base::PlatformThread::CurrentId()),
(...skipping 477 matching lines...) Expand 10 before | Expand all | Expand 10 after
495 state->SetBoolean("nestable", task.nestable); 495 state->SetBoolean("nestable", task.nestable);
496 state->SetBoolean("is_high_res", task.is_high_res); 496 state->SetBoolean("is_high_res", task.is_high_res);
497 state->SetDouble( 497 state->SetDouble(
498 "delayed_run_time", 498 "delayed_run_time",
499 (task.delayed_run_time - base::TimeTicks()).InMicroseconds() / 1000.0L); 499 (task.delayed_run_time - base::TimeTicks()).InMicroseconds() / 1000.0L);
500 state->EndDictionary(); 500 state->EndDictionary();
501 } 501 }
502 502
503 } // namespace internal 503 } // namespace internal
504 } // namespace scheduler 504 } // namespace scheduler
OLDNEW
« no previous file with comments | « components/scheduler/base/task_queue_impl.h ('k') | components/scheduler/base/task_queue_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698