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

Unified Diff: chrome/browser/sync/profile_sync_service_bookmark_unittest.cc

Issue 7497014: Revert 94128 - [Sync] Refactor sync datatype error handling. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 5 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/profile_sync_service_bookmark_unittest.cc
===================================================================
--- chrome/browser/sync/profile_sync_service_bookmark_unittest.cc (revision 94142)
+++ chrome/browser/sync/profile_sync_service_bookmark_unittest.cc (working copy)
@@ -21,7 +21,6 @@
#include "base/utf_string_conversions.h"
#include "chrome/browser/bookmarks/bookmark_model.h"
#include "chrome/browser/sync/abstract_profile_sync_service_test.h"
-#include "chrome/browser/sync/api/sync_error.h"
#include "chrome/browser/sync/engine/syncapi.h"
#include "chrome/browser/sync/glue/bookmark_change_processor.h"
#include "chrome/browser/sync/glue/bookmark_model_associator.h"
@@ -326,8 +325,7 @@
profile_.GetBookmarkModel(),
test_user_share_.user_share(),
&mock_unrecoverable_error_handler_));
- SyncError error;
- EXPECT_TRUE(model_associator_->AssociateModels(&error));
+ EXPECT_TRUE(model_associator_->AssociateModels());
MessageLoop::current()->RunAllPending();
// Set up change processor.
@@ -340,8 +338,8 @@
void StopSync() {
change_processor_->Stop();
change_processor_.reset();
- SyncError error;
- EXPECT_TRUE(model_associator_->DisassociateModels(&error));
+
+ EXPECT_TRUE(model_associator_->DisassociateModels());
model_associator_.reset();
message_loop_.RunAllPending();
« no previous file with comments | « chrome/browser/sync/profile_sync_service.cc ('k') | chrome/browser/sync/profile_sync_service_startup_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698