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

Unified Diff: chrome/browser/sync/sessions/sync_session_unittest.cc

Issue 7190001: [Sync] Split DirectoryChangeListener for thread-safety (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix copyright Created 9 years, 6 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/sessions/sync_session_unittest.cc
diff --git a/chrome/browser/sync/sessions/sync_session_unittest.cc b/chrome/browser/sync/sessions/sync_session_unittest.cc
index e386e63c44ab8c908433b1aba211148de9dcfcdc..dc9ad8ad6e825f4d102a14fc1e2819fdc4d70a3f 100644
--- a/chrome/browser/sync/sessions/sync_session_unittest.cc
+++ b/chrome/browser/sync/sessions/sync_session_unittest.cc
@@ -5,6 +5,7 @@
#include "chrome/browser/sync/sessions/sync_session.h"
#include "base/memory/ref_counted.h"
+#include "base/tracked.h"
#include "chrome/browser/sync/engine/conflict_resolver.h"
#include "chrome/browser/sync/engine/mock_model_safe_workers.h"
#include "chrome/browser/sync/engine/syncer_types.h"
@@ -123,7 +124,7 @@ TEST_F(SyncSessionTest, SetWriteTransaction) {
scoped_ptr<SyncSession> session(MakeSession());
EXPECT_TRUE(NULL == session->write_transaction());
{
- WriteTransaction trans(dir, syncable::UNITTEST, __FILE__, __LINE__);
+ WriteTransaction trans(dir, syncable::UNITTEST, FROM_HERE);
sessions::ScopedSetSessionWriteTransaction set_trans(session.get(), &trans);
EXPECT_TRUE(&trans == session->write_transaction());
}
« no previous file with comments | « chrome/browser/sync/profile_sync_service_unittest.cc ('k') | chrome/browser/sync/syncable/directory_change_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698