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

Unified Diff: chrome/test/sync/engine/mock_connection_manager.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
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/test/sync/engine/test_directory_setter_upper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/sync/engine/mock_connection_manager.cc
diff --git a/chrome/test/sync/engine/mock_connection_manager.cc b/chrome/test/sync/engine/mock_connection_manager.cc
index 124027080de4280475045ee2b16abf1aa3c825f7..17d12a1423cc27fcc72ef8761aa154654221ea65 100644
--- a/chrome/test/sync/engine/mock_connection_manager.cc
+++ b/chrome/test/sync/engine/mock_connection_manager.cc
@@ -9,6 +9,7 @@
#include <map>
#include "base/stringprintf.h"
+#include "base/tracked.h"
#include "chrome/browser/sync/engine/syncer_proto_util.h"
#include "chrome/browser/sync/protocol/bookmark_specifics.pb.h"
#include "chrome/test/sync/engine/test_id_factory.h"
@@ -97,7 +98,7 @@ bool MockConnectionManager::PostBufferToPath(const PostBufferParams* params,
// when there's an issue.
if (post.message_contents() != ClientToServerMessage::AUTHENTICATE) {
CHECK(directory.good());
- WriteTransaction wt(directory, syncable::UNITTEST, __FILE__, __LINE__);
+ WriteTransaction wt(directory, syncable::UNITTEST, FROM_HERE);
}
if (fail_next_postbuffer_) {
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/test/sync/engine/test_directory_setter_upper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698