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

Side by Side Diff: content/browser/plugin_loader_posix.h

Issue 1159623009: content: Remove use of MessageLoopProxy and deprecated MessageLoop APIs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Test build fix. Created 5 years, 6 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 (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 CONTENT_BROWSER_PLUGIN_LOADER_POSIX_H_ 5 #ifndef CONTENT_BROWSER_PLUGIN_LOADER_POSIX_H_
6 #define CONTENT_BROWSER_PLUGIN_LOADER_POSIX_H_ 6 #define CONTENT_BROWSER_PLUGIN_LOADER_POSIX_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
13 #include "base/time/time.h" 13 #include "base/time/time.h"
14 #include "content/browser/plugin_service_impl.h" 14 #include "content/browser/plugin_service_impl.h"
15 #include "content/public/browser/utility_process_host_client.h" 15 #include "content/public/browser/utility_process_host_client.h"
16 #include "content/public/common/webplugininfo.h" 16 #include "content/public/common/webplugininfo.h"
17 #include "ipc/ipc_sender.h" 17 #include "ipc/ipc_sender.h"
18 18
19 namespace base {
20 class MessageLoopProxy;
21 }
22
23 namespace content { 19 namespace content {
24 class UtilityProcessHost; 20 class UtilityProcessHost;
25 21
26 // This class is responsible for managing the out-of-process plugin loading on 22 // This class is responsible for managing the out-of-process plugin loading on
27 // POSIX systems. It primarily lives on the IO thread, but has a brief stay on 23 // POSIX systems. It primarily lives on the IO thread, but has a brief stay on
28 // the FILE thread to iterate over plugin directories when it is first 24 // the FILE thread to iterate over plugin directories when it is first
29 // constructed. 25 // constructed.
30 // 26 //
31 // The following is the algorithm used to load plugins: 27 // The following is the algorithm used to load plugins:
32 // 1. This asks the PluginList for the list of all potential plugins to attempt 28 // 1. This asks the PluginList for the list of all potential plugins to attempt
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 // True if there is (or is about to be) a utility process that loads plugins. 122 // True if there is (or is about to be) a utility process that loads plugins.
127 bool loading_plugins_; 123 bool loading_plugins_;
128 124
129 friend class MockPluginLoaderPosix; 125 friend class MockPluginLoaderPosix;
130 DISALLOW_COPY_AND_ASSIGN(PluginLoaderPosix); 126 DISALLOW_COPY_AND_ASSIGN(PluginLoaderPosix);
131 }; 127 };
132 128
133 } // namespace content 129 } // namespace content
134 130
135 #endif // CONTENT_BROWSER_PLUGIN_LOADER_POSIX_H_ 131 #endif // CONTENT_BROWSER_PLUGIN_LOADER_POSIX_H_
OLDNEW
« no previous file with comments | « content/browser/notifications/platform_notification_context_unittest.cc ('k') | content/browser/plugin_loader_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698