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

Unified Diff: chrome_frame/metrics_service.cc

Issue 3971004: Revert "Revert "Const-ify RefCountedThreadSafe::AddRef and Release."" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 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/test/testing_profile.cc ('k') | ipc/ipc_channel_proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_frame/metrics_service.cc
diff --git a/chrome_frame/metrics_service.cc b/chrome_frame/metrics_service.cc
index 461862f57eab9dd42abb7a776b03ea3799773ac9..881c74cbcc707908e87e58510e276acba90e1b6c 100644
--- a/chrome_frame/metrics_service.cc
+++ b/chrome_frame/metrics_service.cc
@@ -210,7 +210,7 @@ class ChromeFrameUploadRequestContextGetter : public URLRequestContextGetter {
return context_;
}
- virtual scoped_refptr<base::MessageLoopProxy> GetIOMessageLoopProxy() {
+ virtual scoped_refptr<base::MessageLoopProxy> GetIOMessageLoopProxy() const {
if (!io_message_loop_proxy_.get()) {
io_message_loop_proxy_ = base::MessageLoopProxy::CreateForCurrentThread();
}
@@ -223,7 +223,7 @@ class ChromeFrameUploadRequestContextGetter : public URLRequestContextGetter {
}
scoped_refptr<URLRequestContext> context_;
- scoped_refptr<base::MessageLoopProxy> io_message_loop_proxy_;
+ mutable scoped_refptr<base::MessageLoopProxy> io_message_loop_proxy_;
MessageLoop* io_loop_;
};
« no previous file with comments | « chrome/test/testing_profile.cc ('k') | ipc/ipc_channel_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698