Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(69)

Unified Diff: chrome/test/automation/tab_proxy.h

Issue 5254005: Do not reset the content settings delegate's cookies when a network error occurred. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/chrome/browser/tab_contents
Patch Set: updates Created 10 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698