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

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

Issue 2734963004: Refactor Assert[No]CookieExists to return a boolean (Closed)
Patch Set: Update comments 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..5f8bd81a12a378553aa3c92a564f0cd61a20cb63 100644
--- a/ios/chrome/test/earl_grey/chrome_earl_grey.h
+++ b/ios/chrome/test/earl_grey/chrome_earl_grey.h
@@ -34,6 +34,12 @@ id ExecuteJavaScript(NSString* javascript,
// Clears browsing history.
+ (void)clearBrowsingHistory;
+#pragma mark - Cookie Utilities
+
+// Returns cookies as key value pairs, and it fails the test if there are errors
Eugene But (OOO till 7-30) 2017/03/14 00:43:38 How about "Returns cookies as key value pairs, whe
liaoyuke 2017/03/14 17:04:39 Done.
+// getting cookies.
++ (NSDictionary*)cookies;
+
#pragma mark - Navigation Utilities
// Loads |URL| in the current WebState with transition of type

Powered by Google App Engine
This is Rietveld 408576698