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

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

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.cc
diff --git a/chrome/test/automation/tab_proxy.cc b/chrome/test/automation/tab_proxy.cc
index fd2afaab30fce566b1b5b59ba6083075d08c26f2..42018880d67ff9f90ddba0806001c386a4c3a7c9 100644
--- a/chrome/test/automation/tab_proxy.cc
+++ b/chrome/test/automation/tab_proxy.cc
@@ -467,6 +467,20 @@ bool TabProxy::DeleteCookie(const GURL& url, const std::string& name) {
return succeeded;
}
+bool TabProxy::IsContentBlocked(ContentSettingsType content_type,
+ bool* is_blocked) {
+ bool succeeded;
+ return sender_->Send(new AutomationMsg_IsContentBlocked(
+ 0, handle_, content_type, is_blocked, &succeeded)) && succeeded;
+}
+
+bool TabProxy::IsContentAccessed(ContentSettingsType content_type,
+ bool* is_accessed) {
+ bool succeeded;
+ return sender_->Send(new AutomationMsg_IsContentAccessed(
+ 0, handle_, content_type, is_accessed, &succeeded)) && succeeded;
+}
+
bool TabProxy::ShowCollectedCookiesDialog() {
bool succeeded = false;
return sender_->Send(new AutomationMsg_ShowCollectedCookiesDialog(

Powered by Google App Engine
This is Rietveld 408576698