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

Unified Diff: chrome/browser/sync/js/js_sync_manager_observer.cc

Issue 7861013: Fix the false-positive detection of commit errors (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Another attempt at detecting errors Created 9 years, 2 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/js/js_sync_manager_observer.cc
diff --git a/chrome/browser/sync/js/js_sync_manager_observer.cc b/chrome/browser/sync/js/js_sync_manager_observer.cc
index 7714f27422a7bc145920411c0620b84d0015e571..d3819acb8ffad4b943bfeef5718c5f261abe436b 100644
--- a/chrome/browser/sync/js/js_sync_manager_observer.cc
+++ b/chrome/browser/sync/js/js_sync_manager_observer.cc
@@ -19,7 +19,7 @@
namespace browser_sync {
-using browser_sync::SyncProtocolError;
+using browser_sync::SyncOperationResult;
JsSyncManagerObserver::JsSyncManagerObserver() {}
@@ -92,7 +92,7 @@ void JsSyncManagerObserver::OnEncryptionComplete(
}
void JsSyncManagerObserver::OnActionableError(
- const SyncProtocolError& sync_error) {
+ const SyncOperationResult& sync_error) {
if (!event_handler_.IsInitialized()) {
return;
}
« no previous file with comments | « chrome/browser/sync/js/js_sync_manager_observer.h ('k') | chrome/browser/sync/js/js_sync_manager_observer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698