Chromium Code Reviews| 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_; } |
|
not at google - send to devlin
2015/07/31 21:48:03
Could you add a comment:
Note: window type is a C
llandwerlin-old
2015/08/03 10:11:54
Done.
|
| + 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. |
| }; |