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

Side by Side Diff: sync/internal_api/test/test_user_share.cc

Issue 1545553003: Switch to standard integer types in sync/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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
« no previous file with comments | « sync/internal_api/test/test_entry_factory.cc ('k') | sync/internal_api/write_node.cc » ('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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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/internal_api/public/test/test_user_share.h" 5 #include "sync/internal_api/public/test/test_user_share.h"
6 6
7 #include <stddef.h>
8
7 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
8 #include "sync/syncable/directory.h" 10 #include "sync/syncable/directory.h"
9 #include "sync/syncable/mutable_entry.h" 11 #include "sync/syncable/mutable_entry.h"
10 #include "sync/syncable/syncable_read_transaction.h" 12 #include "sync/syncable/syncable_read_transaction.h"
11 #include "sync/syncable/syncable_write_transaction.h" 13 #include "sync/syncable/syncable_write_transaction.h"
12 #include "sync/test/engine/test_directory_setter_upper.h" 14 #include "sync/test/engine/test_directory_setter_upper.h"
13 #include "sync/test/engine/test_id_factory.h" 15 #include "sync/test/engine/test_id_factory.h"
14 #include "sync/test/engine/test_syncable_utils.h" 16 #include "sync/test/engine/test_syncable_utils.h"
15 #include "testing/gtest/include/gtest/gtest.h" 17 #include "testing/gtest/include/gtest/gtest.h"
16 18
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 CreateTypeRoot(&wtrans, directory, model_type); 76 CreateTypeRoot(&wtrans, directory, model_type);
75 return true; 77 return true;
76 } 78 }
77 79
78 size_t TestUserShare::GetDeleteJournalSize() const { 80 size_t TestUserShare::GetDeleteJournalSize() const {
79 syncable::ReadTransaction trans(FROM_HERE, user_share_->directory.get()); 81 syncable::ReadTransaction trans(FROM_HERE, user_share_->directory.get());
80 return user_share_->directory->delete_journal()->GetDeleteJournalSize(&trans); 82 return user_share_->directory->delete_journal()->GetDeleteJournalSize(&trans);
81 } 83 }
82 84
83 } // namespace syncer 85 } // namespace syncer
OLDNEW
« no previous file with comments | « sync/internal_api/test/test_entry_factory.cc ('k') | sync/internal_api/write_node.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698