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

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

Issue 8491048: Fixed crash in the proxy. Reference has been passed between threads, (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 1 month 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/service/cloud_print/cloud_print_proxy.cc
===================================================================
--- chrome/service/cloud_print/cloud_print_proxy.cc (revision 108685)
+++ chrome/service/cloud_print/cloud_print_proxy.cc (working copy)
@@ -188,15 +188,6 @@
service_prefs_->GetString(prefs::kCloudPrintProxyId, &info->proxy_id);
}
-// Notification methods from the backend. Called on UI thread.
-void CloudPrintProxy::OnPrinterListAvailable(
- const printing::PrinterList& printer_list) {
- DCHECK(CalledOnValidThread());
- // We could potentially show UI here allowing the user to select which
- // printers to register. For now, we just register all.
- backend_->RegisterPrinters(printer_list);
-}
-
void CloudPrintProxy::OnAuthenticated(
const std::string& robot_oauth_refresh_token,
const std::string& robot_email,
« no previous file with comments | « chrome/service/cloud_print/cloud_print_proxy.h ('k') | chrome/service/cloud_print/cloud_print_proxy_backend.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698