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

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

Issue 1170623003: Revert "content: Remove use of MessageLoopProxy and deprecated MessageLoop APIs" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
19 namespace content { 23 namespace content {
20 class UtilityProcessHost; 24 class UtilityProcessHost;
21 25
22 // This class is responsible for managing the out-of-process plugin loading on 26 // This class is responsible for managing the out-of-process plugin loading on
23 // POSIX systems. It primarily lives on the IO thread, but has a brief stay on 27 // POSIX systems. It primarily lives on the IO thread, but has a brief stay on
24 // the FILE thread to iterate over plugin directories when it is first 28 // the FILE thread to iterate over plugin directories when it is first
25 // constructed. 29 // constructed.
26 // 30 //
27 // The following is the algorithm used to load plugins: 31 // The following is the algorithm used to load plugins:
28 // 1. This asks the PluginList for the list of all potential plugins to attempt 32 // 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
122 // True if there is (or is about to be) a utility process that loads plugins. 126 // True if there is (or is about to be) a utility process that loads plugins.
123 bool loading_plugins_; 127 bool loading_plugins_;
124 128
125 friend class MockPluginLoaderPosix; 129 friend class MockPluginLoaderPosix;
126 DISALLOW_COPY_AND_ASSIGN(PluginLoaderPosix); 130 DISALLOW_COPY_AND_ASSIGN(PluginLoaderPosix);
127 }; 131 };
128 132
129 } // namespace content 133 } // namespace content
130 134
131 #endif // CONTENT_BROWSER_PLUGIN_LOADER_POSIX_H_ 135 #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