summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sync/sessions/sync_session_unittest.cc
diff options
context:
space:
mode:
authorakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-17 21:40:38 +0000
committerakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-17 21:40:38 +0000
commit9a68a6d01cd68fe844be2bdbb05ec415fa574b3c (patch)
treebb751e0c4144c1585d3e6ce63909b9ce10fbd6eb /chrome/browser/sync/sessions/sync_session_unittest.cc
parent72042ea571a06d578738f231961b33b0f81e42ac (diff)
downloadchromium_src-9a68a6d01cd68fe844be2bdbb05ec415fa574b3c.zip
chromium_src-9a68a6d01cd68fe844be2bdbb05ec415fa574b3c.tar.gz
chromium_src-9a68a6d01cd68fe844be2bdbb05ec415fa574b3c.tar.bz2
[Sync] Add Location parameter to Read/WriteTransactions
Also add to SyncChangeProcessor and SyncableService. BUG= TEST= Review URL: http://codereview.chromium.org/7189004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89556 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/sync/sessions/sync_session_unittest.cc')
-rw-r--r--chrome/browser/sync/sessions/sync_session_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/sync/sessions/sync_session_unittest.cc b/chrome/browser/sync/sessions/sync_session_unittest.cc
index dc9ad8a..b6cbe81 100644
--- a/chrome/browser/sync/sessions/sync_session_unittest.cc
+++ b/chrome/browser/sync/sessions/sync_session_unittest.cc
@@ -124,7 +124,7 @@ TEST_F(SyncSessionTest, SetWriteTransaction) {
scoped_ptr<SyncSession> session(MakeSession());
EXPECT_TRUE(NULL == session->write_transaction());
{
- WriteTransaction trans(dir, syncable::UNITTEST, FROM_HERE);
+ WriteTransaction trans(FROM_HERE, syncable::UNITTEST, dir);
sessions::ScopedSetSessionWriteTransaction set_trans(session.get(), &trans);
EXPECT_TRUE(&trans == session->write_transaction());
}