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

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

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
Index: trunk/src/extensions/common/event_filtering_info.h
===================================================================
--- trunk/src/extensions/common/event_filtering_info.h (revision 221667)
+++ trunk/src/extensions/common/event_filtering_info.h (working copy)
@@ -28,9 +28,6 @@
~EventFilteringInfo();
void SetURL(const GURL& url);
void SetInstanceID(int instance_id);
- void SetServiceType(const std::string& service_type) {
- service_type_ = service_type;
- }
bool has_url() const { return has_url_; }
const GURL& url() const { return url_; }
@@ -38,16 +35,12 @@
bool has_instance_id() const { return has_instance_id_; }
int instance_id() const { return instance_id_; }
- bool has_service_type() const { return !service_type_.empty(); }
- const std::string& service_type() const { return service_type_; }
-
scoped_ptr<base::Value> AsValue() const;
bool IsEmpty() const;
private:
bool has_url_;
GURL url_;
- std::string service_type_;
bool has_instance_id_;
int instance_id_;

Powered by Google App Engine
This is Rietveld 408576698