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

Side by Side Diff: chrome/browser/idle.h

Issue 10694060: browser: Move more files into chrome namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_IDLE_H_ 5 #ifndef CHROME_BROWSER_IDLE_H_
6 #define CHROME_BROWSER_IDLE_H_ 6 #define CHROME_BROWSER_IDLE_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/callback.h" 9 #include "base/callback.h"
10 10
(...skipping 12 matching lines...) Expand all
23 void StopIdleMonitor(); 23 void StopIdleMonitor();
24 #endif 24 #endif
25 25
26 typedef base::Callback<void(IdleState)> IdleCallback; 26 typedef base::Callback<void(IdleState)> IdleCallback;
27 27
28 // Calculate the Idle state and notify the callback. 28 // Calculate the Idle state and notify the callback.
29 void CalculateIdleState(unsigned int idle_threshold, IdleCallback notify); 29 void CalculateIdleState(unsigned int idle_threshold, IdleCallback notify);
30 30
31 // Checks synchronously if Idle state is IDLE_STATE_LOCKED. 31 // Checks synchronously if Idle state is IDLE_STATE_LOCKED.
32 bool CheckIdleStateIsLocked(); 32 bool CheckIdleStateIsLocked();
33
33 #endif // CHROME_BROWSER_IDLE_H_ 34 #endif // CHROME_BROWSER_IDLE_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/api/web_socket_proxy_private/web_socket_proxy_private_api.cc ('k') | chrome/browser/idle_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698