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

Unified Diff: ios/chrome/test/earl_grey/chrome_earl_grey.h

Issue 2734963004: Refactor Assert[No]CookieExists to return a boolean (Closed)
Patch Set: Move cookie helpers to a shared location Created 3 years, 9 months 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: ios/chrome/test/earl_grey/chrome_earl_grey.h
diff --git a/ios/chrome/test/earl_grey/chrome_earl_grey.h b/ios/chrome/test/earl_grey/chrome_earl_grey.h
index fdacda6a3c82f946abf28075e151b62ef11997fa..5c1ec7c61051d8025f6283d9cebb0b6fcb2e6957 100644
--- a/ios/chrome/test/earl_grey/chrome_earl_grey.h
+++ b/ios/chrome/test/earl_grey/chrome_earl_grey.h
@@ -34,6 +34,11 @@ id ExecuteJavaScript(NSString* javascript,
// Clears browsing history.
+ (void)clearBrowsingHistory;
+#pragma mark - Cookie Utilities
+
+// Returns cookies as key value pairs. Returns nil if fails to get cookies.
++ (NSDictionary*)getCookies;
+
#pragma mark - Navigation Utilities
// Loads |URL| in the current WebState with transition of type

Powered by Google App Engine
This is Rietveld 408576698