| Index: extensions/common/event_filtering_info.h
|
| diff --git a/extensions/common/event_filtering_info.h b/extensions/common/event_filtering_info.h
|
| index a3587986a9ece864024876dab462af867538615a..4b76f2d14a796379f4736e126abb7b404393db09 100644
|
| --- a/extensions/common/event_filtering_info.h
|
| +++ b/extensions/common/event_filtering_info.h
|
| @@ -26,12 +26,16 @@ class EventFilteringInfo {
|
| public:
|
| EventFilteringInfo();
|
| ~EventFilteringInfo();
|
| + void SetWindowType(const std::string& window_type);
|
| void SetURL(const GURL& url);
|
| void SetInstanceID(int instance_id);
|
| void SetServiceType(const std::string& service_type) {
|
| service_type_ = service_type;
|
| }
|
|
|
| + bool has_window_type() const { return has_window_type_; }
|
| + const std::string& window_type() const { return window_type_; }
|
| +
|
| bool has_url() const { return has_url_; }
|
| const GURL& url() const { return url_; }
|
|
|
| @@ -52,6 +56,9 @@ class EventFilteringInfo {
|
| bool has_instance_id_;
|
| int instance_id_;
|
|
|
| + bool has_window_type_;
|
| + std::string window_type_;
|
| +
|
| // Allow implicit copy and assignment.
|
| };
|
|
|
|
|