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

Unified Diff: chrome/service/cloud_print/cloud_print_proxy_backend.cc

Issue 4192012: Convert implicit scoped_refptr constructor calls to explicit ones, part 1 (Closed) Base URL: http://git.chromium.org/git/chromium.git
Patch Set: fix presubmit 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/renderer/webplugin_delegate_proxy.cc ('k') | chrome/service/cloud_print/printer_job_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/service/cloud_print/cloud_print_proxy_backend.cc
diff --git a/chrome/service/cloud_print/cloud_print_proxy_backend.cc b/chrome/service/cloud_print/cloud_print_proxy_backend.cc
index 99158d33d9b2703b352f71fd2d71b85573db32ac..3b950d2229cd3f761ed86c1f8e04715801f5b2ce 100644
--- a/chrome/service/cloud_print/cloud_print_proxy_backend.cc
+++ b/chrome/service/cloud_print/cloud_print_proxy_backend.cc
@@ -277,17 +277,17 @@ void CloudPrintProxyBackend::Core::DoInitializeWithLsid(
// the CloudPrintProxyCoreThread and we cannot really do anything else until
// the GAIA signin is successful.
std::string user_agent = "ChromiumBrowser";
- scoped_refptr<ServiceGaiaAuthenticator> gaia_auth_for_talk =
+ scoped_refptr<ServiceGaiaAuthenticator> gaia_auth_for_talk(
new ServiceGaiaAuthenticator(
user_agent, kSyncGaiaServiceId, kGaiaUrl,
- g_service_process->io_thread()->message_loop_proxy());
+ g_service_process->io_thread()->message_loop_proxy()));
gaia_auth_for_talk->set_message_loop(MessageLoop::current());
bool auth_succeeded = false;
if (gaia_auth_for_talk->AuthenticateWithLsid(lsid)) {
- scoped_refptr<ServiceGaiaAuthenticator> gaia_auth_for_print =
+ scoped_refptr<ServiceGaiaAuthenticator> gaia_auth_for_print(
new ServiceGaiaAuthenticator(
user_agent, kCloudPrintGaiaServiceId, kGaiaUrl,
- g_service_process->io_thread()->message_loop_proxy());
+ g_service_process->io_thread()->message_loop_proxy()));
gaia_auth_for_print->set_message_loop(MessageLoop::current());
if (gaia_auth_for_print->AuthenticateWithLsid(lsid)) {
auth_succeeded = true;
« no previous file with comments | « chrome/renderer/webplugin_delegate_proxy.cc ('k') | chrome/service/cloud_print/printer_job_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698