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

Unified Diff: chrome_frame/urlmon_url_request.h

Issue 11048029: Allow Thread to initialize COM for Windows consumers who need it (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome_frame/buggy_bho_handling.cc ('k') | chrome_frame/urlmon_url_request.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_frame/urlmon_url_request.h
===================================================================
--- chrome_frame/urlmon_url_request.h (revision 163371)
+++ chrome_frame/urlmon_url_request.h (working copy)
@@ -11,16 +11,13 @@
#include <map>
#include <string>
-#include "base/threading/thread.h"
#include "chrome_frame/plugin_url_request.h"
#include "chrome_frame/urlmon_moniker.h"
#include "chrome_frame/utils.h"
namespace base {
-namespace win {
-class ScopedCOMInitializer;
+class Thread;
}
-}
class UrlmonUrlRequest;
@@ -28,21 +25,6 @@
: public PluginUrlRequestManager,
public PluginUrlRequestDelegate {
public:
- // Sub resources on the pages in chrome frame are fetched on this thread.
- class ResourceFetcherThread : public base::Thread {
- public:
- explicit ResourceFetcherThread(const char* name);
- virtual ~ResourceFetcherThread();
-
- virtual void Init();
- virtual void CleanUp();
-
- private:
- scoped_ptr<base::win::ScopedCOMInitializer> com_initializer_;
-
- DISALLOW_COPY_AND_ASSIGN(ResourceFetcherThread);
- };
-
// Contains the privacy information for all requests issued by this instance.
struct PrivacyInfo {
public:
@@ -151,7 +133,7 @@
base::Lock* request_map_lock);
scoped_refptr<UrlmonUrlRequest> pending_request_;
- scoped_ptr<ResourceFetcherThread> background_thread_;
+ scoped_ptr<base::Thread> background_thread_;
bool stopping_;
« no previous file with comments | « chrome_frame/buggy_bho_handling.cc ('k') | chrome_frame/urlmon_url_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698