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

Unified Diff: chrome/browser/automation/testing_automation_provider.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/browser/automation/testing_automation_provider.h
diff --git a/chrome/browser/automation/testing_automation_provider.h b/chrome/browser/automation/testing_automation_provider.h
index ac3ad58eef36d4bfce0709d9888ae4c172a93fd6..50aebe0cc183c69d6096bd2fe2b17d1a29c18a75 100644
--- a/chrome/browser/automation/testing_automation_provider.h
+++ b/chrome/browser/automation/testing_automation_provider.h
@@ -12,6 +12,7 @@
#include "chrome/browser/browser_list.h"
#include "chrome/browser/history/history.h"
#include "chrome/browser/sync/profile_sync_service_harness.h"
+#include "chrome/common/content_settings_types.h"
#include "chrome/common/notification_registrar.h"
#include "chrome/common/page_type.h"
@@ -54,6 +55,14 @@ class TestingAutomationProvider : public AutomationProvider,
int* response_value);
void DeleteCookie(const GURL& url, const std::string& cookie_name,
int handle, bool* success);
+ void IsContentBlocked(int handle,
+ ContentSettingsType content_type,
+ bool* is_blocked,
+ bool* success);
+ void IsContentAccessed(int handle,
+ ContentSettingsType content_type,
+ bool* is_accessed,
+ bool* success);
void ShowCollectedCookiesDialog(int handle, bool* success);
void NavigateToURL(int handle, const GURL& url, IPC::Message* reply_message);
void NavigateToURLBlockUntilNavigationsComplete(int handle, const GURL& url,
« no previous file with comments | « no previous file | chrome/browser/automation/testing_automation_provider.cc » ('j') | chrome/common/automation_messages_internal.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698