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

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

Issue 7919001: test cases for server directed error handling code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: For review. Created 9 years, 3 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: 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 7d1eaa155111cd74852935f866fa5bcdef7c34b3..6dca1067269bf642a62433eabdc6325d7eaf8189 100644
--- a/chrome/browser/sync/test/integration/sync_test.h
+++ b/chrome/browser/sync/test/integration/sync_test.h
@@ -17,6 +17,7 @@
#include "base/memory/scoped_vector.h"
#include "base/process_util.h"
#include "chrome/browser/sync/syncable/model_type.h"
+#include "chrome/browser/sync/protocol/sync_protocol_error.h"
Raghu Simha 2011/09/16 04:01:02 Alphabetize includes.
lipalani1 2011/09/19 18:59:13 Done.
#include "net/base/mock_host_resolver.h"
#include "net/test/test_server.h"
@@ -173,6 +174,9 @@ class SyncTest : public InProcessBrowserTest {
// this state until shut down.
void TriggerTransientError();
+ // Triggers a sync error on the server.
+ void TriggerSyncError(const browser_sync::SyncProtocolError& error);
+
// Triggers setting the sync_tabs field of the nigori node.
void TriggerSetSyncTabs();

Powered by Google App Engine
This is Rietveld 408576698