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

Unified Diff: trunk/src/extensions/common/event_filtering_info.cc

Issue 23945003: Revert 221619 "Initial chrome.mdns API." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 3 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 | « trunk/src/extensions/common/event_filtering_info.h ('k') | trunk/src/extensions/common/event_matcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/extensions/common/event_filtering_info.cc
===================================================================
--- trunk/src/extensions/common/event_filtering_info.cc (revision 221667)
+++ trunk/src/extensions/common/event_filtering_info.cc (working copy)
@@ -38,15 +38,11 @@
if (has_instance_id_)
result->SetInteger("instanceId", instance_id_);
-
- if (!service_type_.empty())
- result->SetString("serviceType", service_type_);
-
return result.PassAs<base::Value>();
}
bool EventFilteringInfo::IsEmpty() const {
- return !has_url_ && service_type_.empty();
+ return !has_url_;
}
} // namespace extensions
« no previous file with comments | « trunk/src/extensions/common/event_filtering_info.h ('k') | trunk/src/extensions/common/event_matcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698