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

Side by Side Diff: remoting/host/chromeos/clipboard_aura.h

Issue 1547473005: Switch to standard integer types in remoting/host/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_CLIPBOARD_AURA_H_ 5 #ifndef REMOTING_HOST_CLIPBOARD_AURA_H_
6 #define REMOTING_HOST_CLIPBOARD_AURA_H_ 6 #define REMOTING_HOST_CLIPBOARD_AURA_H_
7 7
8 #include <stdint.h>
9
10 #include "base/macros.h"
8 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
9 #include "base/threading/thread_checker.h" 12 #include "base/threading/thread_checker.h"
10 #include "base/timer/timer.h" 13 #include "base/timer/timer.h"
11 #include "remoting/host/clipboard.h" 14 #include "remoting/host/clipboard.h"
12 15
13 namespace remoting { 16 namespace remoting {
14 17
15 namespace protocol { 18 namespace protocol {
16 class ClipboardStub; 19 class ClipboardStub;
17 } // namespace protocol 20 } // namespace protocol
(...skipping 19 matching lines...) Expand all
37 40
38 // Overrides the clipboard polling interval for unit test. 41 // Overrides the clipboard polling interval for unit test.
39 void SetPollingIntervalForTesting(base::TimeDelta polling_interval); 42 void SetPollingIntervalForTesting(base::TimeDelta polling_interval);
40 43
41 private: 44 private:
42 void CheckClipboardForChanges(); 45 void CheckClipboardForChanges();
43 46
44 base::ThreadChecker thread_checker_; 47 base::ThreadChecker thread_checker_;
45 scoped_ptr<protocol::ClipboardStub> client_clipboard_; 48 scoped_ptr<protocol::ClipboardStub> client_clipboard_;
46 base::RepeatingTimer clipboard_polling_timer_; 49 base::RepeatingTimer clipboard_polling_timer_;
47 uint64 current_change_count_; 50 uint64_t current_change_count_;
48 base::TimeDelta polling_interval_; 51 base::TimeDelta polling_interval_;
49 52
50 DISALLOW_COPY_AND_ASSIGN(ClipboardAura); 53 DISALLOW_COPY_AND_ASSIGN(ClipboardAura);
51 }; 54 };
52 55
53 } // namespace remoting 56 } // namespace remoting
54 57
55 #endif // REMOTING_HOST_CLIPBOARD_AURA_H_ 58 #endif // REMOTING_HOST_CLIPBOARD_AURA_H_
OLDNEW
« no previous file with comments | « remoting/host/chromeos/aura_desktop_capturer_unittest.cc ('k') | remoting/host/chromeos/clipboard_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698