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

Side by Side Diff: chrome/default_plugin/plugin_install_job_monitor.h

Issue 6028009: Move base/thread.h to base/threading, fix up callers to use the new location.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 11 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 | « chrome/common/worker_thread_ticker.cc ('k') | chrome/gpu/gpu_watchdog_thread.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_DEFAULT_PLUGIN_PLUGIN_INSTALL_JOB_MONITOR_H_ 5 #ifndef CHROME_DEFAULT_PLUGIN_PLUGIN_INSTALL_JOB_MONITOR_H_
6 #define CHROME_DEFAULT_PLUGIN_PLUGIN_INSTALL_JOB_MONITOR_H_ 6 #define CHROME_DEFAULT_PLUGIN_PLUGIN_INSTALL_JOB_MONITOR_H_
7 #pragma once 7 #pragma once
8 8
9 #include <windows.h> 9 #include <windows.h>
10 10
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/thread.h" 12 #include "base/threading/thread.h"
13 #include "base/ref_counted.h" 13 #include "base/ref_counted.h"
14 14
15 // Provides the plugin installation job monitoring functionality. 15 // Provides the plugin installation job monitoring functionality.
16 // The PluginInstallationJobMonitorThread class represents a background 16 // The PluginInstallationJobMonitorThread class represents a background
17 // thread which monitors the install job completion port which is associated 17 // thread which monitors the install job completion port which is associated
18 // with the job when an instance of this class is initialized. 18 // with the job when an instance of this class is initialized.
19 class PluginInstallationJobMonitorThread : 19 class PluginInstallationJobMonitorThread :
20 public base::Thread, 20 public base::Thread,
21 public base::RefCountedThreadSafe<PluginInstallationJobMonitorThread> { 21 public base::RefCountedThreadSafe<PluginInstallationJobMonitorThread> {
22 22
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 // The install job. Should be created before the job monitor thread 73 // The install job. Should be created before the job monitor thread
74 // is started. 74 // is started.
75 HANDLE install_job_; 75 HANDLE install_job_;
76 // The plugin window handle. 76 // The plugin window handle.
77 HWND plugin_window_; 77 HWND plugin_window_;
78 78
79 DISALLOW_COPY_AND_ASSIGN(PluginInstallationJobMonitorThread); 79 DISALLOW_COPY_AND_ASSIGN(PluginInstallationJobMonitorThread);
80 }; 80 };
81 81
82 #endif // CHROME_DEFAULT_PLUGIN_PLUGIN_INSTALL_JOB_MONITOR_H_ 82 #endif // CHROME_DEFAULT_PLUGIN_PLUGIN_INSTALL_JOB_MONITOR_H_
OLDNEW
« no previous file with comments | « chrome/common/worker_thread_ticker.cc ('k') | chrome/gpu/gpu_watchdog_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698