| Index: extensions/common/event_filtering_info.h
|
| diff --git a/extensions/common/event_filtering_info.h b/extensions/common/event_filtering_info.h
|
| index 86309ab2b9316cb6b7eece193277d73e1afcaf99..a3587986a9ece864024876dab462af867538615a 100644
|
| --- a/extensions/common/event_filtering_info.h
|
| +++ b/extensions/common/event_filtering_info.h
|
| @@ -28,6 +28,9 @@ class EventFilteringInfo {
|
| ~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_; }
|
| @@ -35,12 +38,16 @@ class EventFilteringInfo {
|
| 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_;
|
|
|