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

Unified Diff: chrome/browser/sync/test/integration/sync_test.h

Issue 8931013: Sync integration test for authentication errors (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: "" Created 9 years 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/sync/test/integration/sync_test.h
diff --git a/chrome/browser/sync/test/integration/sync_test.h b/chrome/browser/sync/test/integration/sync_test.h
index 6b46f21cfdfa84ad8ff4f6336b6af9ff5fe23d2d..0ada65e4129a7879a207f60d207d1585d63b8022 100644
--- a/chrome/browser/sync/test/integration/sync_test.h
+++ b/chrome/browser/sync/test/integration/sync_test.h
@@ -172,6 +172,11 @@ class SyncTest : public InProcessBrowserTest {
// this state until shut down.
void TriggerTransientError();
+ // Triggers an auth error on the server, simulating the case when the gaia
+ // password is changed at another location. Note the server will stay in
+ // this state until shut down.
+ void TriggerAuthError();
+
// Triggers a sync error on the server.
void TriggerSyncError(const browser_sync::SyncProtocolError& error);

Powered by Google App Engine
This is Rietveld 408576698