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

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

Issue 2803035: Move default_plugin out of webkit. (Closed)
Patch Set: '' Created 10 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
« no previous file with comments | « chrome/default_plugin/plugin_install_job_monitor.h ('k') | chrome/default_plugin/plugin_main.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 #include "webkit/default_plugin/plugin_install_job_monitor.h" 5 #include "chrome/default_plugin/plugin_install_job_monitor.h"
6 6
7 #include "base/message_loop.h" 7 #include "base/message_loop.h"
8 #include "webkit/default_plugin/plugin_impl.h" 8 #include "chrome/default_plugin/plugin_impl.h"
9 9
10 PluginInstallationJobMonitorThread::PluginInstallationJobMonitorThread() 10 PluginInstallationJobMonitorThread::PluginInstallationJobMonitorThread()
11 : Thread("Chrome plugin install thread"), 11 : Thread("Chrome plugin install thread"),
12 install_job_completion_port_(NULL), 12 install_job_completion_port_(NULL),
13 stop_job_monitoring_(false), 13 stop_job_monitoring_(false),
14 plugin_window_(NULL), 14 plugin_window_(NULL),
15 install_job_(NULL) { 15 install_job_(NULL) {
16 } 16 }
17 17
18 PluginInstallationJobMonitorThread::~PluginInstallationJobMonitorThread() { 18 PluginInstallationJobMonitorThread::~PluginInstallationJobMonitorThread() {
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 Thread::Stop(); 97 Thread::Stop();
98 ::CloseHandle(install_job_completion_port_); 98 ::CloseHandle(install_job_completion_port_);
99 install_job_completion_port_ = NULL; 99 install_job_completion_port_ = NULL;
100 } 100 }
101 101
102 bool PluginInstallationJobMonitorThread::AssignProcessToJob( 102 bool PluginInstallationJobMonitorThread::AssignProcessToJob(
103 HANDLE process_handle) { 103 HANDLE process_handle) {
104 BOOL result = AssignProcessToJobObject(install_job_, process_handle); 104 BOOL result = AssignProcessToJobObject(install_job_, process_handle);
105 return result ? true : false; 105 return result ? true : false;
106 } 106 }
OLDNEW
« no previous file with comments | « chrome/default_plugin/plugin_install_job_monitor.h ('k') | chrome/default_plugin/plugin_main.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698