hal/fallback/FallbackWakeLocks.cpp

branch
TOR_BUG_9701
changeset 15
b8a032363ba2
equal deleted inserted replaced
-1:000000000000 0:9c6c6fc8830e
1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* vim: set sw=2 ts=8 et ft=cpp : */
3 /* This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
5 * You can obtain one at http://mozilla.org/MPL/2.0/. */
6
7 #include "Hal.h"
8
9 namespace mozilla {
10 namespace hal_impl {
11
12 bool
13 GetCpuSleepAllowed()
14 {
15 return true;
16 }
17
18 void
19 SetCpuSleepAllowed(bool allowed)
20 {}
21
22 } // namespace hal_impl
23 } // namespace mozilla

mercurial