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

Side by Side Diff: chrome/browser/task_management/sampling/shared_sampler.cc

Issue 2178733002: Task manager should support Idle Wakeups on Windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed build error on win_clang. Created 4 years, 4 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
(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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698