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

Side by Side Diff: remoting/host/setup/win/auth_code_getter.h

Issue 18052008: Use a direct include of time headers in ppapi/, printing/, remoting/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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) 2012 The Chromium Authors. All rights reserved. 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 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 REMOTING_HOST_SETUP_WIN_AUTH_CODE_GETTER_H 5 #ifndef REMOTING_HOST_SETUP_WIN_AUTH_CODE_GETTER_H
6 #define REMOTING_HOST_SETUP_WIN_AUTH_CODE_GETTER_H 6 #define REMOTING_HOST_SETUP_WIN_AUTH_CODE_GETTER_H
7 7
8 #include <ole2.h> 8 #include <ole2.h>
9 #include <exdisp.h> 9 #include <exdisp.h>
10 10
11 #include <string> 11 #include <string>
12 12
13 #include "base/callback.h" 13 #include "base/callback.h"
14 #include "base/threading/non_thread_safe.h" 14 #include "base/threading/non_thread_safe.h"
15 #include "base/timer.h" 15 #include "base/timer/timer.h"
16 #include "base/win/scoped_comptr.h" 16 #include "base/win/scoped_comptr.h"
17 17
18 namespace remoting { 18 namespace remoting {
19 19
20 // A class for getting an OAuth authorization code. 20 // A class for getting an OAuth authorization code.
21 class AuthCodeGetter : public base::NonThreadSafe { 21 class AuthCodeGetter : public base::NonThreadSafe {
22 public: 22 public:
23 AuthCodeGetter(); 23 AuthCodeGetter();
24 ~AuthCodeGetter(); 24 ~AuthCodeGetter();
25 25
(...skipping 21 matching lines...) Expand all
47 base::OneShotTimer<AuthCodeGetter> timer_; 47 base::OneShotTimer<AuthCodeGetter> timer_;
48 // The interval at which the timer fires. 48 // The interval at which the timer fires.
49 base::TimeDelta timer_interval_; 49 base::TimeDelta timer_interval_;
50 50
51 DISALLOW_COPY_AND_ASSIGN(AuthCodeGetter); 51 DISALLOW_COPY_AND_ASSIGN(AuthCodeGetter);
52 }; 52 };
53 53
54 } // namespace remoting 54 } // namespace remoting
55 55
56 #endif // REMOTING_HOST_SETUP_WIN_AUTH_CODE_GETTER_H 56 #endif // REMOTING_HOST_SETUP_WIN_AUTH_CODE_GETTER_H
OLDNEW
« no previous file with comments | « remoting/host/setup/daemon_installer_win.cc ('k') | remoting/host/setup/win/auth_code_getter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698