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

Unified Diff: chrome_frame/urlmon_url_request.h

Issue 11050009: Use ScopedCOMInitializer in more places. While this doesn't always simplify code, it does mean we … (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
Index: chrome_frame/urlmon_url_request.h
===================================================================
--- chrome_frame/urlmon_url_request.h (revision 159813)
+++ chrome_frame/urlmon_url_request.h (working copy)
@@ -16,6 +16,12 @@
#include "chrome_frame/urlmon_moniker.h"
#include "chrome_frame/utils.h"
+namespace base {
+namespace win {
+class ScopedCOMInitializer;
+}
+}
+
class UrlmonUrlRequest;
class UrlmonUrlRequestManager
@@ -30,6 +36,11 @@
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.

Powered by Google App Engine
This is Rietveld 408576698