Index: chrome/common/extensions/event_filtering_info.h |
diff --git a/chrome/common/extensions/event_filtering_info.h b/chrome/common/extensions/event_filtering_info.h |
index e7077f1ba89bb213946d9a06349befbd6819a970..c4fc4fa8a6a3dcaec5edb855e9a7b3d7cfb0e939 100644 |
--- a/chrome/common/extensions/event_filtering_info.h |
+++ b/chrome/common/extensions/event_filtering_info.h |
@@ -6,7 +6,13 @@ |
#define CHROME_COMMON_EXTENSIONS_EVENT_FILTERING_INFO_H_ |
#pragma once |
+#include "base/memory/scoped_ptr.h" |
#include "googleurl/src/gurl.h" |
+#include "v8/include/v8.h" |
+ |
+namespace base { |
+class Value; |
+} |
namespace extensions { |
@@ -27,11 +33,14 @@ class EventFilteringInfo { |
bool has_url() const { return has_url_; } |
const GURL& url() const { return url_; } |
+ std::string AsJSONString() const; |
+ scoped_ptr<base::Value> AsValue() const; |
+ |
private: |
bool has_url_; |
GURL url_; |
- DISALLOW_COPY_AND_ASSIGN(EventFilteringInfo); |
+ // Allow implicit copy and assignment. |
}; |
} // namespace extensions |