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

Side by Side Diff: sync/syncable/write_transaction_info.cc

Issue 10699044: [Sync] Move sync/{internal_api,syncable} into syncer namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync to head Created 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « sync/syncable/write_transaction_info.h ('k') | sync/test/engine/mock_connection_manager.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "sync/syncable/write_transaction_info.h" 5 #include "sync/syncable/write_transaction_info.h"
6 6
7 #include "base/string_number_conversions.h" 7 #include "base/string_number_conversions.h"
8 8
9 namespace syncer {
9 namespace syncable { 10 namespace syncable {
10 11
11 WriteTransactionInfo::WriteTransactionInfo( 12 WriteTransactionInfo::WriteTransactionInfo(
12 int64 id, 13 int64 id,
13 tracked_objects::Location location, 14 tracked_objects::Location location,
14 WriterTag writer, 15 WriterTag writer,
15 ImmutableEntryKernelMutationMap mutations) 16 ImmutableEntryKernelMutationMap mutations)
16 : id(id), 17 : id(id),
17 location_string(location.ToString()), 18 location_string(location.ToString()),
18 writer(writer), 19 writer(writer),
(...skipping 18 matching lines...) Expand all
37 mutations_value = 38 mutations_value =
38 Value::CreateStringValue( 39 Value::CreateStringValue(
39 base::Uint64ToString(static_cast<uint64>(mutations_size)) + 40 base::Uint64ToString(static_cast<uint64>(mutations_size)) +
40 " mutations"); 41 " mutations");
41 } 42 }
42 dict->Set("mutations", mutations_value); 43 dict->Set("mutations", mutations_value);
43 return dict; 44 return dict;
44 } 45 }
45 46
46 } // namespace syncable 47 } // namespace syncable
48 } // namespace syncer
OLDNEW
« no previous file with comments | « sync/syncable/write_transaction_info.h ('k') | sync/test/engine/mock_connection_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698