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

Unified Diff: base/idle_timer_none.cc

Issue 19683: Create a stub chrome executable that crashes when run. (Closed)
Patch Set: rebase Created 11 years, 11 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
« no previous file with comments | « base/base_lib.scons ('k') | chrome/SConscript » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/idle_timer_none.cc
diff --git a/base/idle_timer_none.cc b/base/idle_timer_none.cc
new file mode 100644
index 0000000000000000000000000000000000000000..946535e1af502a51ae5658480dc13d0dee0a5745
--- /dev/null
+++ b/base/idle_timer_none.cc
@@ -0,0 +1,25 @@
+// Copyright (c) 2006-2008 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.
+
+// A stub implementation of IdleTimer used to provide symbols needed by Chrome.
+// It's unclear whether we need the idle timer in the linux port, so we're
+// leaving it unported for now.
+
+#include "base/idle_timer.h"
+
+namespace base {
+
+IdleTimer::IdleTimer(TimeDelta idle_time, bool repeat) {
+}
+
+IdleTimer::~IdleTimer() {
+}
+
+void IdleTimer::Start() {
+}
+
+void IdleTimer::Stop() {
+}
+
+} // namespace base
« no previous file with comments | « base/base_lib.scons ('k') | chrome/SConscript » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698