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..db17ba39db77f41247464033a5ce7a7eabb100e4 100644 |
--- a/chrome/browser/sync/test/integration/sync_test.h |
+++ b/chrome/browser/sync/test/integration/sync_test.h |
@@ -16,6 +16,7 @@ |
#include "base/memory/scoped_ptr.h" |
#include "base/memory/scoped_vector.h" |
#include "base/process_util.h" |
+#include "chrome/browser/sync/protocol/sync_protocol_error.h" |
#include "chrome/browser/sync/syncable/model_type.h" |
#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(); |