Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
michael@0 | 1 | /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ |
michael@0 | 2 | /* vim:expandtab:shiftwidth=4:tabstop=4: */ |
michael@0 | 3 | /* Copyright 2012 Mozilla Foundation and Mozilla contributors |
michael@0 | 4 | * |
michael@0 | 5 | * Licensed under the Apache License, Version 2.0 (the "License"); |
michael@0 | 6 | * you may not use this file except in compliance with the License. |
michael@0 | 7 | * You may obtain a copy of the License at |
michael@0 | 8 | * |
michael@0 | 9 | * http://www.apache.org/licenses/LICENSE-2.0 |
michael@0 | 10 | * |
michael@0 | 11 | * Unless required by applicable law or agreed to in writing, software |
michael@0 | 12 | * distributed under the License is distributed on an "AS IS" BASIS, |
michael@0 | 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
michael@0 | 14 | * See the License for the specific language governing permissions and |
michael@0 | 15 | * limitations under the License. |
michael@0 | 16 | */ |
michael@0 | 17 | |
michael@0 | 18 | #include "nsIdleServiceGonk.h" |
michael@0 | 19 | #include "nsIServiceManager.h" |
michael@0 | 20 | |
michael@0 | 21 | NS_IMPL_ISUPPORTS_INHERITED0(nsIdleServiceGonk, nsIdleService) |
michael@0 | 22 | |
michael@0 | 23 | bool |
michael@0 | 24 | nsIdleServiceGonk::PollIdleTime(uint32_t *aIdleTime) |
michael@0 | 25 | { |
michael@0 | 26 | return false; |
michael@0 | 27 | } |
michael@0 | 28 | |
michael@0 | 29 | bool |
michael@0 | 30 | nsIdleServiceGonk::UsePollMode() |
michael@0 | 31 | { |
michael@0 | 32 | return false; |
michael@0 | 33 | } |