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

Unified Diff: cloud_print/service/win/service_listener.cc

Issue 1390223002: Enforce WARN_UNUSED_RESULT attribute on Windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments Created 5 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/utility/importer/ie_importer_win.cc ('k') | cloud_print/service/win/setup_listener.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cloud_print/service/win/service_listener.cc
diff --git a/cloud_print/service/win/service_listener.cc b/cloud_print/service/win/service_listener.cc
index 52d8ab8785d7c02a39e7e389fb848ca736fcf1f2..31173c791b8c028c55ea009a3625d1d32e9dc9bc 100644
--- a/cloud_print/service/win/service_listener.cc
+++ b/cloud_print/service/win/service_listener.cc
@@ -96,7 +96,8 @@ void ServiceListener::Connect() {
// need for an attachment broker.
channel_ =
IPC::Channel::CreateClient(IPC::ChannelHandle(handle.Get()), this);
- channel_->Connect();
+ bool connected = channel_->Connect();
+ DCHECK(connected);
} else {
ipc_thread_->message_loop()->PostDelayedTask(
FROM_HERE,
« no previous file with comments | « chrome/utility/importer/ie_importer_win.cc ('k') | cloud_print/service/win/setup_listener.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698