| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 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 "chrome/browser/task_manager/sampling/shared_sampler.h" | 5 #include "chrome/browser/task_manager/sampling/shared_sampler.h" |
| 6 | 6 |
| 7 #include "content/public/browser/browser_thread.h" | 7 #include "content/public/browser/browser_thread.h" |
| 8 | 8 |
| 9 namespace task_manager { | 9 namespace task_manager { |
| 10 | 10 |
| 11 SharedSampler::SharedSampler( | 11 SharedSampler::SharedSampler( |
| 12 const scoped_refptr<base::SequencedTaskRunner>& blocking_pool_runner) {} | 12 const scoped_refptr<base::SequencedTaskRunner>& blocking_pool_runner) {} |
| 13 | 13 |
| 14 SharedSampler::~SharedSampler() {} | 14 SharedSampler::~SharedSampler() {} |
| 15 | 15 |
| 16 int64_t SharedSampler::GetSupportedFlags() const { return 0; } | 16 int64_t SharedSampler::GetSupportedFlags() const { return 0; } |
| 17 | 17 |
| 18 void SharedSampler::RegisterCallbacks( | 18 void SharedSampler::RegisterCallbacks( |
| 19 base::ProcessId process_id, | 19 base::ProcessId process_id, |
| 20 const OnIdleWakeupsCallback& on_idle_wakeups) {} | 20 const OnIdleWakeupsCallback& on_idle_wakeups, |
| 21 const OnPhysicalMemoryCallback& on_physical_memory) {} |
| 21 | 22 |
| 22 void SharedSampler::UnregisterCallbacks(base::ProcessId process_id) {} | 23 void SharedSampler::UnregisterCallbacks(base::ProcessId process_id) {} |
| 23 | 24 |
| 24 void SharedSampler::Refresh(base::ProcessId process_id, | 25 void SharedSampler::Refresh(base::ProcessId process_id, |
| 25 int64_t refresh_flags) {} | 26 int64_t refresh_flags) {} |
| 26 | 27 |
| 27 } // namespace task_manager | 28 } // namespace task_manager |
| OLD | NEW |