Index: chrome/test/automation/tab_proxy.h |
diff --git a/chrome/test/automation/tab_proxy.h b/chrome/test/automation/tab_proxy.h |
index 452a2ca8d8d0ee833eb0d88006b866eef29226d2..7c3ac2cad5d7610a3140f5a0c710c359a189c483 100644 |
--- a/chrome/test/automation/tab_proxy.h |
+++ b/chrome/test/automation/tab_proxy.h |
@@ -19,6 +19,7 @@ |
#include "base/observer_list.h" |
#include "chrome/browser/download/save_package.h" |
#include "chrome/common/automation_constants.h" |
+#include "chrome/common/content_settings_types.h" |
#include "chrome/common/page_type.h" |
#include "chrome/common/security_style.h" |
#include "chrome/test/automation/automation_handle_tracker.h" |
@@ -247,6 +248,13 @@ class TabProxy : public AutomationResourceProxy, |
bool DeleteCookie(const GURL& url, |
const std::string& name) WARN_UNUSED_RESULT; |
+ // Checks whether the given |content_type| is blocked in the current tab. |
+ bool IsContentBlocked(ContentSettingsType content_type, |
+ bool* is_blocked) WARN_UNUSED_RESULT; |
+ // Checks whether the given |content_type| is accessed in the current tab. |
+ bool IsContentAccessed(ContentSettingsType content_type, |
+ bool* is_accessed) WARN_UNUSED_RESULT; |
+ |
// Opens the collected cookies dialog for the current tab. This function can |
// be invoked on any valid tab. |
bool ShowCollectedCookiesDialog() WARN_UNUSED_RESULT; |