Adding a router class to handle messages that expect responses.
[chromium-blink-merge.git] / chrome / browser / idle_query_x11.h
blob5f20648bd3efc49e8d552c2842c4944d5529cb0c
1 // Copyright (c) 2012 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.
5 #ifndef CHROME_BROWSER_IDLE_QUERY_X11_H_
6 #define CHROME_BROWSER_IDLE_QUERY_X11_H_
8 #include "base/basictypes.h"
9 #include "base/memory/scoped_ptr.h"
11 namespace chrome {
13 class IdleData;
15 class IdleQueryX11 {
16 public:
17 IdleQueryX11();
18 ~IdleQueryX11();
20 int IdleTime();
22 private:
23 scoped_ptr<IdleData> idle_data_;
25 DISALLOW_COPY_AND_ASSIGN(IdleQueryX11);
28 } // namespace chrome
30 #endif // CHROME_BROWSER_IDLE_QUERY_X11_H_