Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "chrome/browser/task_management/sampling/shared_sampler.h" | |
| 6 | |
| 7 #include "content/public/browser/browser_thread.h" | |
| 8 | |
| 9 namespace task_management { | |
| 10 | |
| 11 #if !defined(OS_WIN) | |
|
ncarter (slow)
2016/07/28 21:37:26
Could we make this file be shared_sampler_posix.cc
stanisc
2016/08/01 22:34:26
Done.
| |
| 12 | |
| 13 SharedSampler::SharedSampler( | |
| 14 const scoped_refptr<base::SequencedTaskRunner>& blocking_pool_runner) {} | |
| 15 | |
| 16 SharedSampler::~SharedSampler() {} | |
| 17 | |
| 18 int64_t SharedSampler::SupportsFlags() const { | |
| 19 return 0; | |
| 20 } | |
| 21 | |
| 22 void SharedSampler::RegisterCallbacks( | |
| 23 base::ProcessId process_id, | |
| 24 const OnIdleWakeupsCallback& on_idle_wakeups) {} | |
| 25 | |
| 26 void SharedSampler::UnregisterCallbacks(base::ProcessId process_id) {} | |
| 27 | |
| 28 void SharedSampler::Refresh(base::ProcessId process_id, | |
| 29 int64_t refresh_flags) {} | |
| 30 | |
| 31 #endif // !defined(OS_WIN) | |
| 32 | |
| 33 } // namespace task_management | |
| OLD | NEW |