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

Side by Side Diff: remoting/base/plugin_thread_task_runner.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
« no previous file with comments | « printing/printing_context_win.cc ('k') | remoting/base/rate_counter.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_BASE_PLUGIN_THREAD_TASK_RUNNER_H_ 5 #ifndef REMOTING_BASE_PLUGIN_THREAD_TASK_RUNNER_H_
6 #define REMOTING_BASE_PLUGIN_THREAD_TASK_RUNNER_H_ 6 #define REMOTING_BASE_PLUGIN_THREAD_TASK_RUNNER_H_
7 7
8 #include <set> 8 #include <set>
9 9
10 #include "base/callback_forward.h" 10 #include "base/callback_forward.h"
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "base/pending_task.h" 12 #include "base/pending_task.h"
13 #include "base/single_thread_task_runner.h" 13 #include "base/single_thread_task_runner.h"
14 #include "base/synchronization/lock.h" 14 #include "base/synchronization/lock.h"
15 #include "base/synchronization/waitable_event.h" 15 #include "base/synchronization/waitable_event.h"
16 #include "base/threading/platform_thread.h" 16 #include "base/threading/platform_thread.h"
17 #include "base/time.h" 17 #include "base/time/time.h"
18 18
19 namespace remoting { 19 namespace remoting {
20 20
21 // SingleThreadTaskRunner for plugin main threads. 21 // SingleThreadTaskRunner for plugin main threads.
22 class PluginThreadTaskRunner : public base::SingleThreadTaskRunner { 22 class PluginThreadTaskRunner : public base::SingleThreadTaskRunner {
23 public: 23 public:
24 class Delegate { 24 class Delegate {
25 public: 25 public:
26 virtual ~Delegate(); 26 virtual ~Delegate();
27 27
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 119
120 // True if the shutdown task loop was been stopped. 120 // True if the shutdown task loop was been stopped.
121 bool stopped_; 121 bool stopped_;
122 122
123 DISALLOW_COPY_AND_ASSIGN(PluginThreadTaskRunner); 123 DISALLOW_COPY_AND_ASSIGN(PluginThreadTaskRunner);
124 }; 124 };
125 125
126 } // namespace remoting 126 } // namespace remoting
127 127
128 #endif // REMOTING_BASE_PLUGIN_THREAD_TASK_RUNNER_H_ 128 #endif // REMOTING_BASE_PLUGIN_THREAD_TASK_RUNNER_H_
OLDNEW
« no previous file with comments | « printing/printing_context_win.cc ('k') | remoting/base/rate_counter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698