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

Unified Diff: chrome/browser/task_management/sampling/shared_sampler_posix.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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/task_management/sampling/shared_sampler_posix.cc
diff --git a/chrome/browser/task_management/sampling/shared_sampler_posix.cc b/chrome/browser/task_management/sampling/shared_sampler_posix.cc
new file mode 100644
index 0000000000000000000000000000000000000000..a159d7ed43e85d273e15248866d3773674da4366
--- /dev/null
+++ b/chrome/browser/task_management/sampling/shared_sampler_posix.cc
@@ -0,0 +1,27 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "chrome/browser/task_management/sampling/shared_sampler.h"
+
+#include "content/public/browser/browser_thread.h"
+
+namespace task_management {
+
+SharedSampler::SharedSampler(
+ const scoped_refptr<base::SequencedTaskRunner>& blocking_pool_runner) {}
+
+SharedSampler::~SharedSampler() {}
+
+int64_t SharedSampler::GetSupportedFlags() const { return 0; }
+
+void SharedSampler::RegisterCallbacks(
+ base::ProcessId process_id,
+ const OnIdleWakeupsCallback& on_idle_wakeups) {}
+
+void SharedSampler::UnregisterCallbacks(base::ProcessId process_id) {}
+
+void SharedSampler::Refresh(base::ProcessId process_id,
+ int64_t refresh_flags) {}
+
+} // namespace task_management

Powered by Google App Engine
This is Rietveld 408576698