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

Unified Diff: chrome/service/net/service_url_request_context.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/service/net/service_url_request_context.h ('k') | chrome/test/testing_profile.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/service/net/service_url_request_context.cc
diff --git a/chrome/service/net/service_url_request_context.cc b/chrome/service/net/service_url_request_context.cc
index 3f264a41c8fd0b421941a3c5313f4cd9c7f53cdd..8e5ae020fac61aa57d9367f1b7b1815c8be6b7b2 100644
--- a/chrome/service/net/service_url_request_context.cc
+++ b/chrome/service/net/service_url_request_context.cc
@@ -64,14 +64,15 @@ ServiceURLRequestContextGetter::ServiceURLRequestContextGetter()
g_service_process->io_thread()->message_loop_proxy()) {
}
-URLRequestContext* ServiceURLRequestContextGetter::GetURLRequestContext() {
+URLRequestContext*
+ServiceURLRequestContextGetter::GetURLRequestContext() {
if (!url_request_context_)
url_request_context_ = new ServiceURLRequestContext();
return url_request_context_;
}
scoped_refptr<base::MessageLoopProxy>
-ServiceURLRequestContextGetter::GetIOMessageLoopProxy() {
+ServiceURLRequestContextGetter::GetIOMessageLoopProxy() const {
return io_message_loop_proxy_;
}
« no previous file with comments | « chrome/service/net/service_url_request_context.h ('k') | chrome/test/testing_profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698