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 |
deleted file mode 100644 |
index 852524100c875e3a2e0439e4f0072f5a7c246b38..0000000000000000000000000000000000000000 |
--- a/chrome/common/extensions/event_filtering_info.h |
+++ /dev/null |
@@ -1,48 +0,0 @@ |
-// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
-// Use of this source code is governed by a BSD-style license that can be |
-// found in the LICENSE file. |
- |
-#ifndef CHROME_COMMON_EXTENSIONS_EVENT_FILTERING_INFO_H_ |
-#define CHROME_COMMON_EXTENSIONS_EVENT_FILTERING_INFO_H_ |
- |
-#include "base/memory/scoped_ptr.h" |
-#include "googleurl/src/gurl.h" |
-#include "v8/include/v8.h" |
- |
-namespace base { |
-class Value; |
-} |
- |
-namespace extensions { |
- |
-// Extra information about an event that is used in event filtering. |
-// |
-// This is the information that is matched against criteria specified in JS |
-// extension event listeners. Eg: |
-// |
-// chrome.someApi.onSomeEvent.addListener(cb, |
-// {url: [{hostSuffix: 'google.com'}], |
-// tabId: 1}); |
-class EventFilteringInfo { |
- public: |
- EventFilteringInfo(); |
- ~EventFilteringInfo(); |
- void SetURL(const GURL& url); |
- |
- bool has_url() const { return has_url_; } |
- const GURL& url() const { return url_; } |
- |
- std::string AsJSONString() const; |
- scoped_ptr<base::Value> AsValue() const; |
- bool IsEmpty() const; |
- |
- private: |
- bool has_url_; |
- GURL url_; |
- |
- // Allow implicit copy and assignment. |
-}; |
- |
-} // namespace extensions |
- |
-#endif // CHROME_COMMON_EXTENSIONS_EVENT_FILTERING_INFO_H_ |